Planeshift
psxmlparser.h File Reference
#include "util/psstring.h"
#include <csutil/xmltiny.h>
#include <csutil/objreg.h>
#include <iutil/vfs.h>
#include "util/log.h"

Go to the source code of this file.

Classes

class  psXMLString
 
class  psXMLTag
 

Functions

void CopyXMLNode (iDocumentNode *source, iDocumentNode *target, int mode)
 Copies/merges children and attributes of 'source' to 'target'. More...
 
csString EscpXML (const char *str)
 Escapes special XML characters in 'str'. More...
 
csString GetNodeXML (iDocumentNode *node, bool childrenOnly=false)
 Generates XML representing given node. More...
 
csPtr< iDocument > ParseFile (iObjectRegistry *object_reg, const csString &name)
 Loads and parses a XML file, then returns its parsed XML document. More...
 
csPtr< iDocument > ParseString (const csString &str, bool notify=true)
 Parses a XML string, then returns the parsed document. More...
 
csPtr< iDocumentNode > ParseStringGetNode (const csString &str, const csString &topNodeName, bool notify=true)
 Parses a XML string, then returns the top node with name 'topNodeName'. More...