This documentation is archived and is not being maintained.
XPathNodeType Enumeration
.NET Framework 1.1
Specifies the XPath node types that can be returned from the XPathNavigator.
For more information on XPath node types, see the Data Model section of the W3C XML Path Language (XPath) Version 1.0 Recommendation located at http://www.w3.org/TR/xpath#data-model.
[Visual Basic] <Serializable> Public Enum XPathNodeType [C#] [Serializable] public enum XPathNodeType [C++] [Serializable] __value public enum XPathNodeType [JScript] public Serializable enum XPathNodeType
Members
| Member name | Description |
|---|---|
| All | All node types. |
| Attribute | An attribute in the node tree. |
| Comment | A comment. |
| Element | An element in the node tree. |
| Namespace | A namespace node. |
| ProcessingInstruction | A processing instruction. Important: This does not include XML declarations, which are not visible to the XPathNavigator. |
| Root | The root of the node tree. |
| SignificantWhitespace | A node with white space characters and xml:space set to preserve. |
| Text | The text content of an element. |
| Whitespace | A node with only white space characters and no significant white space. |
Requirements
Namespace: System.Xml.XPath
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Xml (in System.Xml.dll)
See Also
Show: