[fpc-pascal] XML unit selection
Michael Van Canneyt
michael at freepascal.org
Mon Nov 13 10:53:29 CET 2006
On Mon, 13 Nov 2006, Marc Santhoff wrote:
> while planning an XML-centric program I found some related units in the
> fcl sources and many more inside the lazarus source tree.
> Which set of them would be the best choice?
It depends on what you want. The XML support in FPC is based on the
DOM specifications. It is also tested against the specs on W3.
> According to the comments in some files there is (or was) change to
> Do these xml parsers validate against a schema file (.xsd)?
No, the parsing is currently not validating. I think Sergei Gorelkin
planned this, but I am not sure.
> My goal will be parsing (of course) and looking up types of read
> elements in .xsd files for further evaluation. Techniques to use will be
> both, sax-style stream parsing and building DOM trees. The program will
> have a gui, so lcl will be in use, too.
The FCL contains a SAX 2 compliant reader.
More information about the fpc-pascal