28#include <libxml/tree.h>
29#include <libxml/parserInternals.h>
74 fContext = xmlCreateFileParserCtxt(filename);
84 const char *dir = xmlParserGetDirectory(filename);
85 fContext->directory = (
char *)xmlStrdup((
const xmlChar *)dir);
98 fContext = xmlCreateMemoryParserCtxt(buffer, len);
virtual TXMLDocument * GetXMLDocument() const
Returns the TXMLDocument.
Int_t ParseContext()
Creates a XML document for the parser.
virtual ~TDOMParser()
TDOMParser destructor, it calls ReleaseUnderlying().
TDOMParser()
TDOMParser constructor.
virtual void ReleaseUnderlying()
Release any existing document.
TXMLDocument * fTXMLDoc
xmlDoc
virtual Int_t ParseBuffer(const char *buffer, Int_t len)
It parses a buffer, much like ParseFile().
virtual Int_t ParseFile(const char *filename)
Parse the XML file where filename is the XML file name.
TXMLDocument contains a pointer to an xmlDoc structure, after the parser returns a tree built during ...
virtual void InitializeContext()
Initialize parser parameters, such as, disactivate non-standards libxml1 features,...
virtual void SetParseCode(Int_t code)
Set the parse code:
_xmlParserCtxt * fContext
Parse the xml file.
virtual void ReleaseUnderlying()
To release any existing document.