Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Xml » Xml_SetAttributes


Set 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


Read more about how to handle XML in Working with XML Trees article.


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