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
);

Parameters

source
The DOM Node to be copied to form a Saxon tree

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.

This method copies the DOM tree to create a Saxon tree. There is also a Wrap method that creates a wrapper around the DOM tree.

See Also

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