\Header{xmlChildren}{Gets the sub-nodes within an XMLNode object.}
\methalias{xmlChildren.XMLNode}{xmlChildren}
\keyword{file}{xmlChildren}
\begin{Description}\relax
This returns a list of XMLNode objects within an
XMLNode object.
\end{Description}
\begin{Usage}
\begin{verbatim}
xmlChildren(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] an object of class XMLNode.
\end{ldescription}
\end{Arguments}
\begin{Value}
A list whose elements are sub-nodes of the user-specified
XMLNode. These are also of class XMLNode.
\end{Value}
\begin{Author}\relax
Duncan Temple Lang
\end{Author}
\begin{References}\relax
\url{http://www.w3.org/XML}
\end{References}
\begin{SeeAlso}\relax
\code{\Link{xmlChildren}},\code{\Link{xmlSize}},
\code{\Link{xmlTreeParse}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
  fileName <- system.file("exampleData", "mtcars.xml", package="XML")
  doc <- xmlTreeParse(fileName)
  names(xmlChildren(doc$doc$children[["dataset"]]))
\end{ExampleCode}
\end{Examples}

