C
C
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 C Downloads
#include <C_CkXml.h>
void ChilkatSample(void)
{
HCkXml xml;
xml = CkXml_Create();
CkXml_putTag(xml,"abc");
CkXml_putContent(xml,"123");
printf("%s\n",CkXml_getXml(xml));
CkXml_Dispose(xml);
}