#include "ktypes.h"
#include "KString.h"
Data Structures | |
| struct | _KXml |
| XML structure. More... | |
Typedefs | |
| typedef _KXml | KXml |
| XML structure. | |
Functions | |
| KTL_API KXml * | KXml_create (KString header, KCString field) |
| Creates an XML structure. | |
| KTL_API void | KXml_deleteRec (KXml **xo) |
| Deletes recursively an XML structure and all its childs. | |
| KTL_API KInt | KXml_addSubObject (KXml *xo, KXml *subxo) |
| Adds a sub element to an XML structure. | |
| KTL_API void | KXml_print (KXml *xo) |
| Displays an XML structure on the standard output. Used only in debug mode. | |
| KTL_API KString | KXml_getValue (KXml *xml, KString key) |
| Gets the value of a key. | |
| KTL_API KString | k_createBeginXmlFlag (KString text) |
| Creates the flag of beginning of a key. | |
| KTL_API KString | k_createEndXmlFlag (KString text) |
| Creates the flag of end of a key. | |
| KTL_API KXml * | k_stringToXml (KString xmlString) |
| Converts a string in XML format. | |
| KTL_API KString | k_xmlToString (KXml *xml) |
| Converts an XML structure to a string. | |
| KTL_API KString | k_findValueInXmlFile (KString xmlfilepath, KString key) |
| Gets the value of a key in an XML file. The file is opened in read mode and the key is searched. | |
| KTL_API KXml * | k_fromXmlFile (KString xmlfilepath) |
| Creates an XML structure from an XML file. | |
|
|
Creates the flag of beginning of a key.
|
|
|
Creates the flag of end of a key.
|
|
||||||||||||
|
Gets the value of a key in an XML file. The file is opened in read mode and the key is searched.
|
|
|
Creates an XML structure from an XML file.
|
|
|
Converts a string in XML format.
|
|
|
Converts an XML structure to a string.
|
|
||||||||||||
|
Adds a sub element to an XML structure.
|
|
||||||||||||
|
Creates an XML structure.
|
|
|
Deletes recursively an XML structure and all its childs.
|
|
||||||||||||
|
Gets the value of a key.
|
|
|
Displays an XML structure on the standard output. Used only in debug mode.
|
1.3.8