GDBMS 1.0
Functions
Updating Nodes
Create or Update the XMLNode structure

Functions

XMLCSTR XMLNode::updateName (XMLCSTR lpszName)
 change node's name
XMLAttributeXMLNode::updateAttribute (XMLAttribute *newAttribute, XMLAttribute *oldAttribute)
 if the attribute to update is missing, a new one will be added
XMLAttributeXMLNode::updateAttribute (XMLCSTR lpszNewValue, XMLCSTR lpszNewName=NULL, int i=0)
 if the attribute to update is missing, a new one will be added
XMLAttributeXMLNode::updateAttribute (XMLCSTR lpszNewValue, XMLCSTR 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 (XMLCSTR lpszNewValue, int i=0)
 if the text to update is missing, a new one will be added
XMLCSTR XMLNode::updateText (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
 if the text to update is missing, a new one will be added
XMLClearXMLNode::updateClear (XMLCSTR lpszNewContent, int i=0)
 if the clearTag to update is missing, a new one will be added
XMLClearXMLNode::updateClear (XMLClear *newP, XMLClear *oldP)
 if the clearTag to update is missing, a new one will be added
XMLClearXMLNode::updateClear (XMLCSTR lpszNewValue, XMLCSTR lpszOldValue)
 if the clearTag to update is missing, a new one will be added

Detailed Description

Some update functions:


Function Documentation

XMLAttribute * XMLNode::updateAttribute ( XMLAttribute newAttribute,
XMLAttribute oldAttribute 
)

if the attribute to update is missing, a new one will be added

Definition at line 2673 of file xmlParser.cpp.

XMLAttribute * XMLNode::updateAttribute ( XMLCSTR  lpszNewValue,
XMLCSTR  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

Definition at line 2677 of file xmlParser.cpp.

XMLAttribute * XMLNode::updateAttribute ( XMLCSTR  lpszNewValue,
XMLCSTR  lpszNewName = NULL,
int  i = 0 
)

if the attribute to update is missing, a new one will be added

Definition at line 2675 of file xmlParser.cpp.

XMLClear * XMLNode::updateClear ( XMLCSTR  lpszNewValue,
XMLCSTR  lpszOldValue 
)

if the clearTag to update is missing, a new one will be added

Definition at line 2685 of file xmlParser.cpp.

XMLClear * XMLNode::updateClear ( XMLClear newP,
XMLClear oldP 
)

if the clearTag to update is missing, a new one will be added

Definition at line 2687 of file xmlParser.cpp.

XMLClear * XMLNode::updateClear ( XMLCSTR  lpszNewContent,
int  i = 0 
)

if the clearTag to update is missing, a new one will be added

Definition at line 2683 of file xmlParser.cpp.

XMLCSTR XMLNode::updateName ( XMLCSTR  lpszName)

change node's name

Definition at line 2671 of file xmlParser.cpp.

XMLCSTR XMLNode::updateText ( XMLCSTR  lpszNewValue,
int  i = 0 
)

if the text to update is missing, a new one will be added

Definition at line 2679 of file xmlParser.cpp.

XMLCSTR XMLNode::updateText ( XMLCSTR  lpszNewValue,
XMLCSTR  lpszOldValue 
)

if the text to update is missing, a new one will be added

Definition at line 2681 of file xmlParser.cpp.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines