Back to Aurora Vision Library website

You are here: Start » Function Reference » All Functions » Xml » Xml_SelectSingleAttribute_AsString

Xml_SelectSingleAttribute_AsString


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: avl
Module: FoundationLite

Selects attribute from the XML tree using XPath request.

Syntax

void avl::Xml_SelectSingleAttribute_AsString
(
	const avl::XmlNode& inNode,
	const atl::String& inXPath,
	const atl::Optional<atl::String>& inDefault,
	atl::String& outAttributeName,
	atl::String& outAttributeValue
)

Parameters

Name Type Default Description
Input value inNode const XmlNode& Source node.
Input value inXPath const String& XPath criteria.
Input value inDefault const Optional<String>& NIL If set this value will be returned when no attribute is found or attribute is incorrect.
Output value outAttributeName String& Found attribute name.
Output value outAttributeValue String& Found attribute value as string.

See Also