comp • gb.xml • xmlnode • newelement

XmlNode.NewElement (gb.xml)

Sub NewElement ( Name As String [ , Value As String ] )

Creates a new element, sets its name and value with the Name and Value arguments, and adds it to the current node.

If the node is not an Element, using this method won't have any effect.