Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » System » Xml » Xml_SelectMultipleAttributes_AsBools

Xml_SelectMultipleAttributes_AsBools


Module: FoundationLite

Selects attributes from the XML tree using XPath request.

Name Type Description
inNode XmlNode Source node.
inXPath String XPath criteria.
outAttributesNames StringArray Found attributes names.
outAttributesValues BoolArray Found attributes values as bool.

Description

Filter finds nodes using provided XPath query. Found nodes' attributes are converted to Bool type. Filter checks only first character of selected attribute. 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 attributes were selected empty array is returned.

Remarks

Read more about how to handle XML in Working with XML Trees article.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of Xml_SelectAttributes filter group.

See Also