Einhugur Xml Plugin for Xojo |

# EinhugurXml.XPathQuery Class (console safe)

Class representing XPath precompiled query.
When you call EinhugurXml.Node.SelectNodes with an expression string as an argument, a query object is created behind the scenes. A query object represents a compiled XPath expression. Query objects can be needed in the following circumstances:
You can precompile expressions to query objects to save compilation time if it becomes an issue;
You can use query objects to evaluate XPath expressions which result in booleans, numbers or strings;
You can get the type of expression value via query object.
Query objects correspond to XPathQuery type. They are immutable and non-copyable: they are bound to the expression at creation time and can not be cloned.

Object
XPathQuery

class EinhugurXml.XPathQuery

#### Constructors

XPathQuery | Constructor which takes in expression query.
XPathQuery | Constructor which takes in expression query and XPathVariableSet.

#### Methods

EvaluateBoolean | Evaluates query to a Boolean result.
EvaluateNode | Evaluates a query to a single XPath node.
EvaluateNodeSet | Evaluates a query to a node set.
EvaluateNumber | Evaluates query to a Number result.
EvaluateString | Evaluates query to a String result.

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit
- iOS