There are two different approaches how to write a parser with KDE:
- use a QXMLInPutSource.
- use the DOM model.
It is important to understand that you cannot write an html parser using QXMLInPutSource unless you use strict XHTML. A line like
<body lang=DE link=blue vlink=purple bgcolor=#eeeeff>
stops a QXMLInPutSource-Parser completely because the quotation marks are missing.