Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Xml » Xml_SetNodeValues
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 |
Sets values of nodes which were selected using XPath request.
Syntax
void fil::Xml_SetNodeValues ( const fil::XmlNode& inNode, const ftl::String& inXPath, const ftl::String& inText, fil::XmlNode& outNode )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inNode | const XmlNode& | Source node. | |
![]() |
inXPath | const String& | XPath criteria. | |
![]() |
inText | const String& | Value to set to nodes | |
![]() |
outNode | XmlNode& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inNode and outNode
Read more about In-place Computation.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Invalid XmlNode in Xml_SetNodeValues. |
DomainError | Invalid XPath in Xml_SetNodeValues. |
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.