Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 67347995b6
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (40 sloc) 1.124 kb
\title{Converts non-XML node objects to XMLTextNode objects}
This function is used to convert S objects that
are not already \code{XMLNode} objects
into objects of that class. Specifically,
it treats the object as a string and creates
an \code{XMLTextNode} object.
Also, there is a method for converting an XMLInternalNode
- the C-level libxml representation of a node - to
an explicit R-only object which contains the R values
of the data in the internal node.
\item{x}{the object to be converted to an \code{XMLNode} object.
This is typically alread an object that inherits from \code{XMLNode}
or a string.}
An object of class XMLNode.
\references{\url{}, \url{},
\url{} }
\author{ Duncan Temple Lang }
# creates an XMLTextNode.
asXMLNode("a text node")
# unaltered.
Jump to Line
Something went wrong with that request. Please try again.