Start » Filter Reference » System » Xml » Xml_SetAttributes
Module: | FoundationLite |
---|
Sets values of attributes which were selected using XPath request.
Name | Type | Description | |
---|---|---|---|
inNode | XmlNode | Source node. | |
inXPath | String | XPath criteria. | |
inValue | String | Value to set to attributes | |
outNode | XmlNode |
Remarks
Read more about how to handle XML in Working with XML Trees article.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Invalid XmlNode in Xml_SetAttributes. |
DomainError | Invalid XPath in Xml_SetAttributes. |
DomainError | XPath doesn't lead to a valid attribute or an attribute doesn't exist. Attributes are identified with @name specifier in Xml_SetAttributes. |
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- Xml_GetIntegerAttribute – Gets a node attribute value as Integer.
- Xml_GetRealAttribute – Gets a node attribute value as Real.
- Xml_GetBoolAttribute – Gets a node attribute value as Bool.
- Xml_GetStringAttribute – Gets a node attribute value as String.