You can set the attributes of the XML Header in DOM using the DOM SET XML OPTIONS command. This command allows you to set the encoding and stand-alone attributes. It also allows you to display indentations in the XML tree. For instance, the XML header below:
can be set with this line:
DOM SET XML OPTIONS (elementRef; “UTF-18”;True)
When creating an XML tree using DOM XML commands and the XML options are not set, the default settings are applied. The default value for the encoding is “UTF-8” and the default value for the standalone is false (“No”).