Start » Filter Reference » System » Xml » Xml_SetAttributes

Xml_SetAttributes


Module: FoundationLite

Sets values of attributes which were selected using XPath request.

Name Type Description
Input value
inNode XmlNode Source node.
Input value
inXPath String XPath criteria.
Input value
inValue String Value to set to attributes
Output value
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