The DOM REMOVE XML ATTRIBUTE command removes, if it exists, the attribute designated by attribName from the XML element whose reference is passed in the elementRef parameter.
If the attribute has been correctly removed, the OK system variable is set to 1. If no attribute named attribName exists in elementRef, an error is returned and the OK system variable is set to 0.
Given the following structure:
The following code can be used to remove the first attribute "N=1":