ADELIA |
VADELIA |
SADELIA |
WADELIA |
MADELIA |
(I/B) |
(I/B) (C/S) |
(B) (S) |
(I/B) (C/S) |
(I) (C/S) |
Applicable section
All.
Syntax
XML_GET_URINS XmlIdentifierName <PrefNs> <UriNs>
PrefNs |
→ |
<alpha variable> | <alpha constant> |
UriNs |
→ |
<alpha variable> |
Description
Retrieves the namespace URI associated with a prefix in the range of the current node. If PrefNs is set to *BLANK, the URI returned is the default namespace URI in the range of the current node.
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. |
27 |
Namespace URI not found. |
Example
* Retrieval of the namespace URI associated with the 'bk' prefix within range of the current node.
ALPHA(256) UriVar
XML_GET_URINS xml1 'bk' UriVar
* Retrieval of the default namespace URI in the range of the current node.
ALPHA(256) UriVar
XML_GET_URINS xml1 *BLANK UriVar