Back to Adaptive Vision Library website
You are here: Start » Function Reference » Xml » Xml_SelectSingleNodeValue_AsString
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_AsString ( const avl::XmlNode& inNode, const atl::String& inXPath, const atl::Optional<atl::String>& inDefault, atl::Conditional<avl::XmlNode>& outNode, atl::String& outNodeValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inNode | const XmlNode& | Source node. | ||
inXPath | const String& | XPath criteria. | ||
inDefault | const Optional<String>& | NIL | If no node was found default value will be used. | |
outNode | Conditional<XmlNode>& | Found node. | ||
outNodeValue | String& | Found node text as string. |
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.