Creates an XML node named 'tag'. This node is created independentely of any other node or xml document. You can use the append method as shown in the example below. xmlDoc = XMLDocument() xmlNode = addRootFor(xmlDoc, tag : "invoice") xmlNode1 = createXMLNodeFor(xmlDoc, tag : "customer") xmlNode1.text = "Peter" xmlNode = appendTo(xmlNode, node : xmlNode1)
| Name | Type | Description | Mode |
|---|---|---|---|
| tag | String | Tag name for the node to create | in |