xmlParser  2.44
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Creating from scratch a XMLNode structure

Functions

static XMLNode XMLNode::createXMLTopNode (XMLCSTR lpszName, char isDeclaration=FALSE)
 Create the top node of an XMLNode structure. More...
 
XMLNode XMLNode::addChild (XMLCSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1)
 Add a new child node. More...
 
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. More...
 
XMLAttributeXMLNode::addAttribute (XMLCSTR lpszName, XMLCSTR lpszValuev)
 Add a new attribute. More...
 
XMLCSTR XMLNode::addText (XMLCSTR lpszValue, XMLElementPosition pos=-1)
 Add a new text content. More...
 
XMLClearXMLNode::addClear (XMLCSTR lpszValue, XMLCSTR lpszOpen=NULL, XMLCSTR lpszClose=NULL, XMLElementPosition pos=-1)
 

Detailed Description

Function Documentation

XMLAttribute* XMLNode::addAttribute ( XMLCSTR  lpszName,
XMLCSTR  lpszValuev 
)

Add a new attribute.

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.

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

Add a new clear tag

Parameters
lpszOpendefault value "<![CDATA["
lpszClosedefault value "]]>"
XMLCSTR XMLNode::addText ( XMLCSTR  lpszValue,
XMLElementPosition  pos = -1 
)

Add a new text content.

static XMLNode XMLNode::createXMLTopNode ( XMLCSTR  lpszName,
char  isDeclaration = FALSE 
)
static

Create the top node of an XMLNode structure.