Displaying 1 result from an estimated 1 matches for "reduced3".
Did you mean:
reduced
2011 Mar 30
1
Package XML: Parse Garmin *.tcx file problems
...rtened version.
The output below shows I can get nodes, but an attempt at value of a
single node comes up empty (even though there is data there.
One question: Has anybody succeeded parsing Garmin .tcx (xml) files?
Thanks!
Michael
_______________________
>doc2 = xmlRoot(xmlTreeParse("HR.reduced3.tcx",useInternalNodes = TRUE))
>xpathApply(doc2, "//*", xmlName)
[[1]]
[1] "TrainingCenterDatabase"
[[2]]
[1] "Activities"
[[3]]
[1] "Activity"
[[4]]
[1] "Id"
[[5]]
[1] "Lap"
[[6]]
[1] "TotalTimeSeconds"
> xpath...