Products Downloads


French version


 


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_ADD_NS XmlIdentifierName  <PrefNs> <UriNs>


PrefNs

<alpha variable> | <alpha constant>

UriNs

<alpha variable> | <alpha constant>


Description

Adds the definition of a prefix referring to a namespace identified by a URI to the execution context.


When this instruction is executed, the *RETURN_CODE reserved word can take the following values:

0 (*NORMAL)

:

Operation completed successfully.

24

:

Namespace prefix already registered.

28

:

Invalid namespace prefix value.


Example

* adds the 'zz' prefix referring to the namespace identified by the 'urn:xmlns:25hoursaday-com:bookstore' URI

XML_ADD_NS xml1 'zz' 'urn:xmlns:25hoursaday-com:bookstore'



↑ Top of page

  • Aucune étiquette