Creates a root node for XML Document named 'tag'. After creating an XML Document object, you can use this method to add the root to the XML file. The example below shows how to create the root to an xml document name "invoice": xmlDoc = XMLDocument() xmlNode = addRootFor(xmlDoc, tag : "invoice")
| Name | Type | Description | Mode |
|---|---|---|---|
| tag | String | tag name | in |