Specify the default XML name representation form, which is used
by toXMLName()
function, when its 'form'
parameter is not specified.
For more details, see the description of toXMLName()
function.
Parameter:
form
-
Specify the XML name representation form. The following values are possible:
"qualified"
-
The XML name will be represented as
-
prefix:localName
where the namespace prefix is found according to the
XML document context(s) explicitly or implicitly specified in the function parameters.
"unqualified"
-
The XML name will be represented only by its Local Name part.
"full"
-
The XML name will be represented as the string
-
{namespaceURI}localName
If the passed parameter value is not the one of those above, an error will be raised.
Returns:
-
The previous value of the XML name representation form.
Note: The initial default form value set before the first
setXMLNameForm()
call is "qualified"
.
See Also:
-
getXMLNameForm(), toXMLName()