![]() |
| ||
Classes - Annotated - Tree - Functions - Home - Structure |
The QXmlSimpleReader class provides an implementation of a simple XML reader (i.e. parser). More...
#include <qxml.h>
Inherits QXmlReader.
This XML reader is sufficient for simple parsing tasks. Here is a short list of the properties of this reader:
To get started see also the tiny SAX2 parser walkthrough.
More information about features can be found in the Qt SAX2 overview.
See also setFeature().
If the input source returns an empty string for the function QXmlInputSource::data(), then this means that the end of the XML file is reached; this is quite important, especially if you want to use the reader to parse more than one XML file.
This function returns FALSE in the case of a parsing error. The case that the end of the XML file is reached without having finished the parsing is also an error. Otherwise this function returns TRUE. A return value of TRUE does not mean that the parsing is finished. Use ### instead to determine if the parsing is really finished.
See also parse().
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks | Qt version 3.0.0-beta1-beta1
|