23#ifndef __LATEX_XMLPARSER_H__
24#define __LATEX_XMLPARSER_H__
38 TQDomDocument _document;
56 TQString getFilename () const { return _filename; }
57 TQString getDocument () const { return _document.toString(); }
58 Document* getRoot () const { return _root; }
59 FileHeader* getFileHeader () const { return _fileHeader; }
60 TQString getChildName(TQDomNode, int);
61 TQDomNode getChild(TQDomNode, TQString);
62 TQDomNode getChild(TQDomNode, TQString, int);
63 TQDomNode getChild(TQDomNode, int);
64 TQString getData(TQDomNode, int);
65 TQString getData(TQDomNode, TQString);
66 int getNbChild(TQDomNode, TQString);
67 int getNbChild(TQDomNode);
68 TQString getAttr(TQDomNode, TQString) const;
69 bool isChild(TQDomNode, TQString);
71 void setFileHeader( FileHeader* h) { _fileHeader = h; }
72 void setRoot ( Document* r) { _root = r; }
74 TQDomNode init() { return _document.documentElement(); }
This class hold a whole document with its headers, footers, footnotes, endnotes, content,...
This class supply some convenients methods to access to a DOM tree.
|