1\name{coerceNodes} 2\alias{coerce,XMLHashTreeNode,XMLHashTree-method} 3\alias{coerce,XMLInternalDocument,XMLHashTree-method} 4\alias{coerce,XMLInternalNode,XMLHashTree-method} 5\alias{coerce,XMLNode,XMLInternalNode-method} 6\alias{coerce,XMLAbstractDocument,XMLAbstractNode-method} 7\title{Transform between XML representations} 8\description{ 9 This collection of coercion methods (i.e. \code{as(obj, "type")}) 10 allows users of the \code{XML} package to switch between different 11 representations of XML nodes and to map from an XML document to 12 the root node and from a node to the document. 13 This helps to manage the nodes 14} 15%\usage{} 16\value{ 17 An object of the target type. 18} 19\seealso{ 20\code{\link{xmlTreeParse}} 21\code{\link{xmlParse}} 22} 23\keyword{IO} 24\keyword{programming} 25\concept{XML} 26 27 28