14. remove-attribute
| Chapter 2. Predefined commands |

## 14. remove-attribute

    remove-attribute(name, element?)

Remove attribute having specified name from specified element. Parameter `name` is a string representing an XML qualified name. Parameter `element` defaults to the context node.

Example:

    remove-attribute("xml:id");

    remove-attribute("lang", parent::*);

13. replace |  | 15. remove-property