Back to Adaptive Vision Library website
You are here: Start » Function Reference » Xml » Xml_SelectSingleAttribute_AsReal
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Select attribute from the XML tree using XPath request.
Syntax
void avl::Xml_SelectSingleAttribute_AsReal ( const avl::XmlNode& inNode, const atl::String& inXPath, const atl::Optional<float>& inDefault, atl::String& outAttributeName, float& outAttributeValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inNode | const XmlNode& | Source node. | ||
inXPath | const String& | XPath criteria. | ||
inDefault | const Optional<float>& | NIL | If set this value will be returned when no attribute is found or attribute is incorrect. | |
outAttributeName | String& | Found attribute name. | ||
outAttributeValue | float& | Found attribute value as float. |
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.