xmlChildren {XML} | R Documentation |
This returns a list of XMLNode objects within an XMLNode object.
xmlChildren(x)
x |
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("exampleData", "mtcars.xml", package="XML") doc <- xmlTreeParse(fileName) names(xmlChildren(doc$doc$children[["dataset"]]))