Set XML Attribute

Writes one or more attribute values to the specified XML element.

 

Input Arguments

 

0

Integer

XML File Handle

The handle to the XML file as returned from the

Open XML File command.

1

String

XPath

The XPath to the node to write to.

2

Boolean

Add Attribute if Missing?

Provides an option to create attributes.

3-n

User-defined

User-defined

Attribute values to write to the specified node.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The attributes were written successfully.

FAILURE

The specified node was not found.

 

Remarks

See Get XML Attribute for indexing information.