Load an XML DOM document, supplied as an XmlNode
, into a Saxon XdmNode.
An XdmNode
, the document node at the root of the tree of the resulting
in-memory document
The returned document will contain only the subtree rooted at the supplied node.
This method copies the DOM tree to create a Saxon tree. See the Wrap
method for
an alternative that creates a wrapper the DOM tree, allowing it to be modified in situ.
DocumentBuilder Class | Saxon.Api Namespace | DocumentBuilder.Build Overload List