Parser

From ThorstensHome
Revision as of 14:52, 18 October 2008 by WikiSysop (Talk)

Jump to: navigation, search

There are two different approaches how to write a parser with KDE:

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. To convert an html file into an xhtml file use

  • tidy
  • QTextEdit