Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Xml » Xml_SelectSingleNode
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 a node from the XML tree using an XPath request.
Syntax
void fil::Xml_SelectSingleNode ( const fil::XmlNode& inNode, const ftl::String& inXPath, ftl::Conditional<fil::XmlNode>& outNode )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inNode | const XmlNode& | Source node. | |
![]() |
inXPath | const String& | XPath criteria. | |
![]() |
outNode | Conditional<XmlNode>& | Found node. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Invalid XmlNode in Xml_SelectSingleNode. |
DomainError | Invalid XPath in Xml_SelectSingleNode. Error: error message. |
DomainError | Invalid XPath in Xml_SelectSingleNode. |
See Also
- Xml_SelectMultipleNodes – Selects nodes from the XML tree using XPath request.