https://github.com/cran/XML
Raw File
Tip revision: 1ac6e589e0a456148565f618f733b7a182532a67 authored by Duncan Temple Lang on 27 November 2000, 00:00:00 UTC
version 0.9-0
Tip revision: 1ac6e58
xmlChildren.Rd
\name{xmlChildren}
\alias{xmlChildren}
\alias{xmlChildren.XMLNode}
\title{ Gets the sub-nodes within an XMLNode object. }
\description{
 This returns a list of XMLNode objects within an
 XMLNode object.
}
\usage{
xmlChildren(x)
}
\arguments{
  \item{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.
}
\references{\url{http://www.w3.org/XML}}
\author{ Duncan Temple Lang }

\seealso{
\code{\link{xmlChildren}},\code{\link{xmlSize}},
\code{\link{xmlTreeParse}}
}


\examples{
  fileName <- system.file("exampleData", "mtcars.xml", package="XML")
  doc <- xmlTreeParse(fileName)
  names(xmlChildren(doc$doc$children[["dataset"]]))
}
\keyword{file}
back to top