Functions

Creating from scratch a XMLNode structure
[Create or Update the XMLNode structure]

Functions

static XMLNode XMLNode::createXMLTopNode (XMLCSTR lpszName, char isDeclaration=FALSE)
 Create the top node of an XMLNode structure.
XMLNode XMLNode::addChild (XMLCSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1)
 Add a new child node.
XMLNode XMLNode::addChild (XMLNode nodeToAdd, XMLElementPosition pos=-1)
 If the "nodeToAdd" has some parents, it will be detached from it's parents before being attached to the current XMLNode.
XMLAttributeXMLNode::addAttribute (XMLCSTR lpszName, XMLCSTR lpszValuev)
 Add a new attribute.
XMLCSTR XMLNode::addText (XMLCSTR lpszValue, XMLElementPosition pos=-1)
 Add a new text content.
XMLClearXMLNode::addClear (XMLCSTR lpszValue, XMLCSTR lpszOpen=NULL, XMLCSTR lpszClose=NULL, XMLElementPosition pos=-1)
 Add a new clear tag.

Function Documentation

XMLClear * XMLNode::addClear ( XMLCSTR  lpszValue,
XMLCSTR  lpszOpen = NULL,
XMLCSTR  lpszClose = NULL,
XMLElementPosition  pos = -1 
) [inherited]

Add a new clear tag.

Parameters:
lpszOpen default value "<![CDATA["
lpszClose default value "]]>"

References stringDup().