https://github.com/cran/XML
Raw File
Tip revision: f8a9164611b9031c37003fed9b2ec9e1de629d2a authored by Duncan Temple Lang on 27 November 2000, 00:00:00 UTC
version 0.6-1
Tip revision: f8a9164
xmlValue.Rd
\name{xmlValue}
\alias{xmlValue}
\alias{xmlValue.XMLCDataNode}
\alias{xmlValue.XMLNode}
\alias{xmlValue.XMLProcessingInstruction}
\alias{xmlValue.XMLTextNode}
\title{Extract the contents of a leaf XML node}
\description{
 Some types of XML nodes have no children, but simply
text. Examples are \code{XMLTextMode},
\code{XMLProcessingInstruction}.
This function provides access to their contents. 
}
\usage{
xmlValue(x)
}
\arguments{
  \item{x}{the \code{XMLNode} object whose
    contents are to be  returned.}
}
\value{
 The object stored in the 
 \code{value} slot of the \code{XMLNode} object.
 This is typically a string.
}
\references{\url{http://www.w3.org/XML}, \url{http://www.jclark.com/xml},
\url{http://www.omegahat.org}  }
\author{ Duncan Temple Lang }

\seealso{
 \code{\link{xmlChildren}}
 \code{\link{xmlName}}
 \code{\link{xmlAttrs}}
 \code{\link{xmlNamespace}}
}

\examples{
  
}
\keyword{file}
back to top