Remove XML Attribute

Removes an attribute from 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

String

Attribute Name

Name of the Attribute to remove.

3

Boolean

Remove All Attributes?

True - will remove all.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The attributes were removed successfully.

FAILURE

The specified node was not found.

 

Remarks

See Get XML Attribute for indexing information.