| xmlChildren {XML} | R Documentation |
This returns a list of XMLNode objects within an XMLNode object.
xmlChildren(node)
node |
an object of class XMLNode. |
A list whose elements are sub-nodes of the user-specified XMLNode. These are also of class XMLNode.
Duncan Temple Lang
xmlChildren,xmlSize,
xmlTreeParse
fileName <- system.file("data", "mtcars.xml", pkg="XML")
doc <- xmlTreeParse(fileName)
names(xmlChildren(doc$doc$children[["dataset"]]))