Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Xml » Xml_SelectMultipleNodeValues_AsBools
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Selects nodes from the XML tree using XPath request.
Syntax
void fil::Xml_SelectMultipleNodeValues_AsBools ( const fil::XmlNode& inNode, const ftl::String& inXPath, ftl::Array<fil::XmlNode>& outNodes, ftl::Array<bool>& outNodeValues )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inNode | const XmlNode& | Source node. | |
![]() |
inXPath | const String& | XPath criteria. | |
![]() |
outNodes | Array<XmlNode>& | Found nodes. | |
![]() |
outNodeValues | Array<bool>& | Found nodes text as bool. |
Description
Filter finds nodes using provided XPath query. Found values are converted to Bool type. Filter checks only first character of selected value. Characters Y, y, T, t, 1 will be parsed as True value. Value False will be returned if one of characters N, n, F, f, 0 will be found. If other character is found default value is returned.
If no nodes were selected empty array is returned.
See Also
- Xml_SelectSingleNode – Selects a node from the XML tree using an XPath request.
- Xml_SelectMultipleNodes – Selects nodes from the XML tree using XPath request.