version 2004
DOM SET XML OPTIONS (elementRef; encoding{; standalone{; indentation}})
Parameter | Type | Description | |
elementRef | String | XML element reference | |
encoding | String | XML document character set | |
standalone | Boolean | True = document is standalone | |
False (default) = document is not standalone | |||
indentation | Boolean | True (default) = document is indented | |
False = document is not indented |
Description
The DOM SET XML OPTIONS command allows you to define various options that are useful in creating the XML tree set using elementRef. These options concern encoding, the standalone property and tree identation options:
encoding: Indicates the character set used in the document. By default (if the command is not called), the UTF-8 character set (compressed Unicode) is used.
standalone: Indicates whether the tree is standalone (True) or if it needs other files or external resources to operate (False). By default (if the command is not called or if the parameter is omitted), the tree is not standalone.
indentation: Indicates whether the tree should display indentations corresponding to XML key hierarchies (True) or not (False). By default (if the command is not called or if the parameter is omitted), the tree is indented.
Example
The following example sets the encoding to use and the standalone option in the elementRef element:
DOM SET XML OPTIONS(elementRef;"UTF-16";True)
See Also