5.36.3 SET
The SET command can be used to set the current directory. This optional command also allows XML prefix to namespace mappings used during the XML creation process to be declared at the root scope or with element start and element end scope.
Syntax:
Command
|
Keyword
|
Value
|
Developer notes
|
SET
|
DIR
|
value
|
Conditional. Specify the default directory.
|
OBJECT
|
*PREFIX
|
Conditional. Define an XML namespace. Depending on its use, it can either be used to define a namespace in the root scope or within an element start and element end scope.
|
*DEFAULTNS
|
Define default XML namespace.
|
PREFIX
|
value
|
This keyword specifies an XML prefix and is only used with the OBJECT type of *PREFIX.
|
NAMESPACE
|
value
|
This keyword specifies an XML namespace and is used with the OBJECT type *PREFIX or *DEFAULTNS.
|
|
Example
SET DIR(/folder)
SET OBJECT(*DEFAULTNS) NAMESPACE(http://acmedefault.com)
SET OBJECT(*PREFIX) PREFIX(one) NAMESPACE(http://acmeone.com)