\Header{toString.XMLNode}{Creates string representation of XML node}
\keyword{file}{toString.XMLNode}
\begin{Description}\relax
This creates a string from a hierarchical XML node and its children
just as it prints on the console or one might see it in
a document.
\end{Description}
\begin{Usage}
\begin{verbatim}
toString.XMLNode(x, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] an object of class \code{XMLNode}.
\item[\code{...}] currently ignored
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
This uses a textConnection object using the name
.tempXMLOutput. Since this is global, it will overwrite
any existing object of that name! As a result, this
function cannot be used recursively in its present form.
\end{Details}
\begin{Value}
A character vector with one element, that being the
string corresponding to the XML node's contents.
\end{Value}
\begin{Note}\relax
This requires the Expat XML parser to be installed.
\end{Note}
\begin{Author}\relax
Duncan Temple Lang
\end{Author}
\begin{References}\relax
\url{http://www.w3.org/XML}, \url{http://www.jclark.com/xml}
\end{References}
\begin{SeeAlso}\relax
\code{\Link{xmlNode}}
\code{\Link{xmlTreeParse}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
 x <- xmlRoot(xmlTreeParse(system.file("exampleData", "gnumeric.xml",
package = "XML")))

 toString(x)
\end{ExampleCode}
\end{Examples}

