xNode.addText_WOSD("foo"); xNode.updateAttribute_WOSD("#newcolor" ,NULL,"color");
xNode.addText("foo"); xNode.addText_WOSD(stringDup("foo")); xNode.updateAttribute("#newcolor" ,NULL,"color"); xNode.updateAttribute_WOSD(stringDup("#newcolor"),NULL,"color");
char *b=(char*)malloc(...); xNode.addText(b); free(b);
char *b=(char*)malloc(...); xNode.addText_WOSD(b);
Functions | |
| static XMLNode | XMLNode::createXMLTopNode_WOSD (XMLSTR lpszName, char isDeclaration=FALSE) |
| Create the top node of an XMLNode structure. | |
| XMLNode | XMLNode::addChild_WOSD (XMLSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1) |
| Add a new child node. | |
| XMLAttribute * | XMLNode::addAttribute_WOSD (XMLSTR lpszName, XMLSTR lpszValue) |
| Add a new attribute. | |
| XMLCSTR | XMLNode::addText_WOSD (XMLSTR lpszValue, XMLElementPosition pos=-1) |
| Add a new text content. | |
| XMLClear * | XMLNode::addClear_WOSD (XMLSTR lpszValue, XMLCSTR lpszOpen=NULL, XMLCSTR lpszClose=NULL, XMLElementPosition pos=-1) |
| Add a new clear Tag. | |
| XMLCSTR | XMLNode::updateName_WOSD (XMLSTR lpszName) |
| change node's name | |
| XMLAttribute * | XMLNode::updateAttribute_WOSD (XMLAttribute *newAttribute, XMLAttribute *oldAttribute) |
| if the attribute to update is missing, a new one will be added | |
| XMLAttribute * | XMLNode::updateAttribute_WOSD (XMLSTR lpszNewValue, XMLSTR lpszNewName=NULL, int i=0) |
| if the attribute to update is missing, a new one will be added | |
| XMLAttribute * | XMLNode::updateAttribute_WOSD (XMLSTR lpszNewValue, XMLSTR lpszNewName, XMLCSTR lpszOldName) |
| set lpszNewName=NULL if you don't want to change the name of the attribute if the attribute to update is missing, a new one will be added | |
| XMLCSTR | XMLNode::updateText_WOSD (XMLSTR lpszNewValue, int i=0) |
| if the text to update is missing, a new one will be added | |
| XMLCSTR | XMLNode::updateText_WOSD (XMLSTR lpszNewValue, XMLCSTR lpszOldValue) |
| if the text to update is missing, a new one will be added | |
| XMLClear * | XMLNode::updateClear_WOSD (XMLSTR lpszNewContent, int i=0) |
| if the clearTag to update is missing, a new one will be added | |
| XMLClear * | XMLNode::updateClear_WOSD (XMLClear *newP, XMLClear *oldP) |
| if the clearTag to update is missing, a new one will be added | |
| XMLClear * | XMLNode::updateClear_WOSD (XMLSTR lpszNewValue, XMLCSTR lpszOldValue) |
| if the clearTag to update is missing, a new one will be added | |
| XMLAttribute* XMLNode::addAttribute_WOSD | ( | XMLSTR | lpszName, | |
| XMLSTR | lpszValue | |||
| ) | [inherited] |
Add a new attribute.
| XMLNode XMLNode::addChild_WOSD | ( | XMLSTR | lpszName, | |
| char | isDeclaration = FALSE, |
|||
| XMLElementPosition | pos = -1 | |||
| ) | [inherited] |
Add a new child node.
| XMLClear* XMLNode::addClear_WOSD | ( | XMLSTR | lpszValue, | |
| XMLCSTR | lpszOpen = NULL, |
|||
| XMLCSTR | lpszClose = NULL, |
|||
| XMLElementPosition | pos = -1 | |||
| ) | [inherited] |
Add a new clear Tag.
| XMLCSTR XMLNode::addText_WOSD | ( | XMLSTR | lpszValue, | |
| XMLElementPosition | pos = -1 | |||
| ) | [inherited] |
Add a new text content.
| static XMLNode XMLNode::createXMLTopNode_WOSD | ( | XMLSTR | lpszName, | |
| char | isDeclaration = FALSE | |||
| ) | [static, inherited] |
Create the top node of an XMLNode structure.
| XMLAttribute* XMLNode::updateAttribute_WOSD | ( | XMLSTR | lpszNewValue, | |
| XMLSTR | lpszNewName, | |||
| XMLCSTR | lpszOldName | |||
| ) | [inherited] |
set lpszNewName=NULL if you don't want to change the name of the attribute if the attribute to update is missing, a new one will be added
| XMLAttribute* XMLNode::updateAttribute_WOSD | ( | XMLSTR | lpszNewValue, | |
| XMLSTR | lpszNewName = NULL, |
|||
| int | i = 0 | |||
| ) | [inherited] |
if the attribute to update is missing, a new one will be added
| XMLAttribute* XMLNode::updateAttribute_WOSD | ( | XMLAttribute * | newAttribute, | |
| XMLAttribute * | oldAttribute | |||
| ) | [inherited] |
if the attribute to update is missing, a new one will be added
| XMLClear* XMLNode::updateClear_WOSD | ( | XMLSTR | lpszNewValue, | |
| XMLCSTR | lpszOldValue | |||
| ) | [inherited] |
if the clearTag to update is missing, a new one will be added
if the clearTag to update is missing, a new one will be added
| XMLClear* XMLNode::updateClear_WOSD | ( | XMLSTR | lpszNewContent, | |
| int | i = 0 | |||
| ) | [inherited] |
if the clearTag to update is missing, a new one will be added
| XMLCSTR XMLNode::updateName_WOSD | ( | XMLSTR | lpszName | ) | [inherited] |
change node's name
| XMLCSTR XMLNode::updateText_WOSD | ( | XMLSTR | lpszNewValue, | |
| XMLCSTR | lpszOldValue | |||
| ) | [inherited] |
if the text to update is missing, a new one will be added
| XMLCSTR XMLNode::updateText_WOSD | ( | XMLSTR | lpszNewValue, | |
| int | i = 0 | |||
| ) | [inherited] |
if the text to update is missing, a new one will be added
1.5.6