DOMToDoc Function
In DOMToDoc, parameters in brackets "[ ]" are optional.
The params in brackets “[ ]” are optional parameters.
DOMToDoc(XPath,[‘Document Name’],[‘stand alone?’],[‘root name’],[‘encoding’],[‘system url’],[‘dtd name’],[‘public url’],[‘attribute quoting’])