System::Xml::XPath Namespace Reference

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

Namespaces

 XPathResultType
 

Classes

class  IXPathNavigable
 
class  XPathDocument
 
class  XPathExpression
 
class  XPathItem
 
class  XPathNavigator
 
class  XPathNodeIterator
 

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)
 Declaration of XPathException which provides detailed information about the error that occurs while processing an XPath expression. More...
 

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   
)

Declaration of XPathException which provides detailed information about the error that occurs while processing an XPath expression.