Saxon API for .NET

DocumentBuilder.Build Method (XmlNode)

Load an XML DOM document, supplied as an XmlNode, into a Saxon XdmNode.

public XdmNode Build(
   XmlNode source
);

Return Value

An XdmNode, the document node at the root of the tree of the resulting in-memory document

Remarks

The returned document will contain only the subtree rooted at the supplied node.

The current implementation copies the DOM tree to create a Saxon tree. It is likely that this will be replaced in the future by an implementation that wraps the DOM tree.

See Also

DocumentBuilder Class | Saxon.Api Namespace | DocumentBuilder.Build Overload List