Go
Go
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 Go Downloads
xml := chilkat.NewXml()
xml.SetTag("abc")
xml.SetContent("123")
fmt.Println(*xml.GetXml())
xml.DisposeXml()