Mono Class Library: System.Xml.XPath Namespace

System.Xml.XPath.XPathNamespaceScope Enumeration

This enumeration is used to indicate how to filter namespace nodes in queries. [Edit]
public enum XPathNamespaceScope

Remarks

Some methods in System.Xml.XPath.XPathNavigator class, such as XPathNavigator.MoveToNamespace, take this enumeration to filter results. In general, XPath "namespace nodes" contains 1) local namespace declarations (that can be visually seen as "xmlns" attributes), 2) namespace declarations in ancestor nodes and that is not overriden by the nearest ancestor or itself, and 3) fixed prefix "xml" and namespace URI "http://www.w3.org/XML/1998/namespace" [Edit]

Members

Member NameDescription
AllIndicates that all namespace nodes should be in evaluation results. [Edit]
ExcludeXmlIndicates that prefix "xml" (namespace "http://www.w3.org/XML/1998/namespace") should be excluded from evaluation results. [Edit]
LocalIndicates that only locally-declared namespace nodes should be in evaluation results. [Edit]

Requirements

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