ADELIA |
VADELIA |
SADELIA |
WADELIA |
EADELIA |
(I/B) |
(I/B) (C/S) |
(B) (S) |
(I/B) (C/S) |
(B) (C/S) |
Applicable section
All.
Syntax
XML_REMOVE_NS XmlIdentifierName <PrefNs>
PrefNs |
→ |
<alpha variable> | <alpha constant> | *ALL |
Description
Removes the definition of a prefix referring to a namespace identified by a URI from the execution context.
The *ALL directive allows you to remove all the previously registered prefix definitions.
When this instruction is executed, the *RETURN_CODE reserved word can take the following values:
0 (*NORMAL) |
Operation completed successfully. |
13 |
XML identifier not open. |
23 |
Namespace prefix not found. |
Example
* Removal of the declaration of the 'zz' prefix
XML_REMOVE_NS xml1 'zz'
* Removal of all prefix declarations
XML_REMOVE_NS xml1 * ALL