comp • gb.xml • xmlwriter • startelement

XmlWriter.StartElement (gb.xml)

Sub StartElement ( TagName As String [ , Attributes As String[], Prefix As String, URI As String ] )

Starts a XML node, called TagName. If that node contains some attributes, you can place it in Attributes as a String array, each attribute must be a pair of strings, the first string is the attribute name, and the second one is the attribute value. Prefix is the namespace prefix, and URI the namespace URI of that node.

Examples

Dim MyXML As XmlWriter
...
MyXML.StartElement( "mynode",["one","two","three","four"])
...
XML File:
...
<mynode one="two" three="four">