Back to FabImage Library website

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

Xml_SelectSingleNodeValue_AsReal


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 node from the XML tree using XPath request.

Syntax

void fil::Xml_SelectSingleNodeValue_AsReal
(
	const fil::XmlNode& inNode,
	const ftl::String& inXPath,
	const ftl::Optional<float>& inDefault,
	ftl::Conditional<fil::XmlNode>& outNode,
	float& outNodeValue
)

Parameters

Name Type Default Description
Input value
inNode const XmlNode& Source node.
Input value
inXPath const String& XPath criteria.
Input value
inDefault const Optional<float>& NIL If no node was found default value will be used.
Output value
outNode Conditional<XmlNode>& Found node.
Output value
outNodeValue float& Found node text as real.

See Also