Asposecpplib
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
 Provides a factory of instances of XPathNavigator class. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  XPathDocument
 Provides a read-only representation of an XML document using the XPath data model. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  XPathExpression
 Represents an XPath expression. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  XPathItem
 Represents an item in the XQuery 1.0 and XPath 2.0 Data Model. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  XPathNavigator
 Allows navigating and editing XML data. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  XPathNodeIterator
 Represents an iterator that iterates over a selected set of nodes. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. 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)
 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.