The functions in this group allows you to create from scratch (or update) a XMLNode structure.
Start by creating your top node with the "createXMLTopNode" function and then add new nodes with the "addChild" function. The parameter 'pos' gives the position where the childNode, the text or the XMLClearTag will be inserted. The default value (pos=-1) inserts at the end. The value (pos=0) insert at the beginning (Insertion at the beginning is slower than at the end).
REMARK: 0 <= pos < nChild()+nText()+nClear()
Modules | |
Creating from scratch a XMLNode structure | |
Updating Nodes | |
Some update functions: | |
Deleting Nodes or Attributes | |
Some deletion functions: | |
???_WOSD functions. | |
The strings given as parameters for the "add" and "update" methods that have a name with the postfix "_WOSD" (that means "WithOut String Duplication")(for example "addText_WOSD") will be free'd by the XMLNode class. | |
Position helper functions (use in conjunction with the update&add functions | |
These are some useful functions when you want to insert a childNode, a text or a XMLClearTag in the middle (at a specified position) of a XMLNode tree already constructed. | |
String Allocation/Free functions | |
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |