LLC2_API
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

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

Add a new attribute.

Definition at line 2663 of file xmlParser.cpp.

References stringDup().

XMLNode XMLNode::addChild ( XMLCSTR  lpszName,
char  isDeclaration = FALSE,
XMLElementPosition  pos = -1 
)

Add a new child node.

Definition at line 2659 of file xmlParser.cpp.

References stringDup().

Referenced by XMLNode::addChild(), and XMLNode::getChildNodeByPathNonConst().

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.

Definition at line 2285 of file xmlParser.cpp.

References XMLNode::addChild(), and eNodeChild.

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 "]]>"

Definition at line 2671 of file xmlParser.cpp.

References stringDup().

XMLCSTR XMLNode::addText ( XMLCSTR  lpszValue,
XMLElementPosition  pos = -1 
)

Add a new text content.

Definition at line 2667 of file xmlParser.cpp.

References stringDup().

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

Create the top node of an XMLNode structure.

Definition at line 1105 of file xmlParser.cpp.

References stringDup(), and XMLNode::XMLNode().