5. delete-key
| Chapter 2. Predefined commands |

## 5. delete-key

    delete-key(key_name, key_value?)

Delete entry `key_value` from map `key_name`. If `key_value` is not specified, delete map `key_name`.

Parameter `key_name` is a string representing an XML qualified name. Parameter `key_value` is a string.

See also XSLT function `key()` and command `update-key()`.

Examples:

    delete-key("refs", "introduction");

    delete-key("refs");

4. delete-text |  | 6. error