System.Xml.XmlDataDocument.CreateNavigator Method

Creates a new System.Xml.XPath.XPathNavigator object for navigating this document. The XPathNavigator is positioned on the node specified in the node parameter.

Syntax

protected override System.Xml.XPath.XPathNavigator CreateNavigator (XmlNode node)

Parameters

node
The System.Xml.XmlNode you want the navigator initially positioned on.

Returns

An XPathNavigator used to navigate the document.

Remarks

The XPathNavigator provides read-only, random access to data. Because it is optimized for XSLT transformations, it provides performance benefits when used as an input mechanism to the System.Xml.Xsl.XslTransform.Transform(System.Xml.XPath.XPathNavigator, System.Xml.Xsl.XsltArgumentList, XmlResolver) method.

Requirements

Namespace: System.Xml
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0