https://github.com/cran/XML
Revision 965b76582d41f5a7e67241b113bbadfbd00393e6 authored by Duncan Temple Lang on 01 May 2003, 00:00:00 UTC, committed by Gabor Csardi on 01 May 2003, 00:00:00 UTC
1 parent 12b6974
Raw File
Tip revision: 965b76582d41f5a7e67241b113bbadfbd00393e6 authored by Duncan Temple Lang on 01 May 2003, 00:00:00 UTC
version 0.93-4
Tip revision: 965b765
xmlSubset.Rd
\name{[.XMLNode}
\alias{[.XMLNode}
\alias{[[.XMLNode}
\alias{[[.XMLDocumentContent}
\title{Convenience accessors for the children of XMLNode objects.}
\description{
 These provide a simplified syntax for extracting the children
of an XML node.
}
\usage{
obj[[i]]
"[.XMLNode"(obj, ...)
"[[.XMLNode"(obj, ...)
"[[.XMLDocumentContent"(obj, ...)
}
\arguments{
  \item{obj}{the XML node or the top-level document content in which the children are to be accessed.
  The \code{XMLDocumentContent} is the container for the top-level node that also contains information
  such as the URI/filename and XML version. This accessor method is merely a convenience to get 
  access to children of the top-level node.}
  \item{\dots}{the identifiers for the children to be retrieved,
given as integer indices, names, etc. in the usual format for the
generic \code{link{[}} and \code{link{[[}} operators}
}
\details{

}
\value{
 A list or single element containing the
children of the XML node given by \code{obj}
and identified by \dots.
}
\references{\url{http://www.w3.org/XML}, \url{http://www.omegahat.org/RSXML}}
\author{Duncan Temple Lang}


\seealso{
 \code{\link{xmlAttrs}}
 \code{\link{[<-.XMLNode}}
 \code{\link{[[<-.XMLNode}}
}

\examples{

}
\keyword{IO}
\keyword{file}

back to top