59. removeAttribute
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 59. removeAttribute

Parameter syntax:

    [ '[force]' ]? [ '[implicitElement]' ]? attribute_name

This command is only useful to write macro commands.

Removes attribute `attribute_name` in explicitly or implicitly selected element if the grammar constraining the document allows to do so.

Option `[force]` may be used to remove specified attribute even if the grammar constraining the document does not allow to do so.

Examples:

    removeAttribute [implicitElement] cols
    removeAttribute role
    removeAttribute [force] linkend
    removeAttribute [force] [implicitElement] linkend

Prev | Up | Next
58. reinclude | Home | 60. repeat