System::Xml::XPath Namespace Reference

Represents an exception that is thrown when an error occurs during parsing of XPath expression. More...

Namespaces

 XPathResultType
 Represents a type of result of execution of XPath expression.
 

Classes

class  IXPathNavigable
 Provides a factory of instances of XPathNavigator class. More...
 
class  XPathDocument
 Provides a read-only representation of an XML document using the XPath data model. More...
 
class  XPathExpression
 Represents an XPath expression. More...
 
class  XPathItem
 Represents an item in the XQuery 1.0 and XPath 2.0 Data Model. More...
 
class  XPathNavigator
 Allows navigating and editing XML data. More...
 
class  XPathNodeIterator
 Represents an iterator that iterates over a selected set of nodes. More...
 

Enumerations

enum  XPathNamespaceScope { XPathNamespaceScope::All, XPathNamespaceScope::ExcludeXml, XPathNamespaceScope::Local }
 Defines the namespace scope. More...
 
enum  XPathNodeType {
  XPathNodeType::Root = 0, XPathNodeType::Element = 1, XPathNodeType::Attribute = 2, XPathNodeType::Namespace = 3,
  XPathNodeType::Text = 4, XPathNodeType::SignificantWhitespace = 5, XPathNodeType::Whitespace = 6, XPathNodeType::ProcessingInstruction = 7,
  XPathNodeType::Comment = 8, XPathNodeType::All = 9
}
 Represents an XPath node type. More...
 

Functions

 DECLARE_INHERITED_EXCEPTION (XPathException, SystemException)
 

Detailed Description

Represents an exception that is thrown when an error occurs during parsing of XPath expression.

Enumeration Type Documentation

◆ XPathNamespaceScope

Defines the namespace scope.

Enumerator
All 

The scope includes all namespaces defined in the scope of the current XML node.

ExcludeXml 

The scope includes all namespaces defined in the scope of the current node excluding xmlns:xml.

Local 

All namespaces that are defined locally at the current node.

◆ XPathNodeType

Represents an XPath node type.

Enumerator
Root 

The root node of the XML document or node tree.

Element 

An element.

Attribute 

An attribute.

Namespace 

A namespace.

Text 

The text content of a node with at least one character.

SignificantWhitespace 

A node that has white space characters and xml:space set to 'preserve'.

Whitespace 

A node with only white space characters and no significant white space. White space characters are #x20, #x9, #xD, or #xA.

ProcessingInstruction 

A processing instruction.

Comment 

A comment.

All 

Any of the System.Xml.XPath.XPathNodeType node types.

Function Documentation

◆ DECLARE_INHERITED_EXCEPTION()

System::Xml::XPath::DECLARE_INHERITED_EXCEPTION ( XPathException  ,
SystemException   
)