Gets the sub-nodes within an XMLNode object.

DESCRIPTION:

This returns a list of XMLNode objects within an XMLNode object.

USAGE:

xmlChildren(x)

ARGUMENTS:

x
an object of class XMLNode.

VALUE:

A list whose elements are sub-nodes of the user-specified XMLNode. These are also of class XMLNode.

AUTHOR(S):

Duncan Temple Lang

REFERENCES:

http://www.w3.org/XML

SEE ALSO:

, ,

EXAMPLES:

  fileName <- system.file("exampleData", "mtcars.xml", package="XML")
  doc <- xmlTreeParse(fileName)
  xmlChildren(doc$doc$children[["dataset"]])