Back to Adaptive Vision Library website
You are here: Start » Function Reference » Xml » Xml_SelectSingleNodeValue_AsInteger
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Selects node from the XML tree using XPath request.
Syntax
void avl::Xml_SelectSingleNodeValue_AsInteger ( const avl::XmlNode& inNode, const atl::String& inXPath, const atl::Optional<int>& inDefault, atl::Conditional<avl::XmlNode>& outNode, int& outNodeValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inNode | const XmlNode& | Source node. | ||
inXPath | const String& | XPath criteria. | ||
inDefault | const Optional<int>& | NIL | If no node was found default value will be used. | |
outNode | Conditional<XmlNode>& | Found node. | ||
outNodeValue | int& | Found node text as integer. |
See Also
- Xml_SelectMultipleNodes – Selects nodes from the XML tree using XPath request.
- Xml_SelectSingleNode – Selects a node from the XML tree using an XPath request.