#include <FUXmlDocument.h>
Public Member Functions | |
FUXmlDocument (FUFileManager *manager, const fchar *filename, bool isParsing) | |
Constructor. | |
FUXmlDocument (const char *data, size_t length=(size_t)~0) | |
Creates an XML document from a data string. | |
~FUXmlDocument () | |
Destructor. | |
xmlNode * | CreateRootNode (const char *name) |
Creates the root XML tree node for the document. | |
void | ReleaseXmlData () |
Releases the stored XML data, if any. | |
xmlNode * | GetRootNode () |
Retrieves the root XML tree node for the document. | |
bool | Write (const char *encoding="utf-8") |
Writes out the XML document. |
When this container is released, it will automatically release the XML document.
|
Constructor. Opens the XML document for the given filename.
|
|
Creates an XML document from a data string.
|
|
Destructor. Releases the XML document. |
|
Creates the root XML tree node for the document.
|
|
Retrieves the root XML tree node for the document.
|
|
Writes out the XML document.
|