Sample code for 30+ languages & platforms
Visual Basic 6.0

Setting XML Tag and Content

See more XML Examples

Demonstrates how to set the tag and content of an XML node.

The following XML sample code produces this output:


<abc>123</abc>

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim xml As New ChilkatXml

xml.Tag = "abc"
xml.Content = "123"

Debug.Print xml.GetXml()