[fpc-pascal] Extending FPDoc

Michael Van Canneyt michael at freepascal.org
Fri Sep 16 23:34:56 CEST 2005



On Fri, 16 Sep 2005, Sebastian Günther wrote:

> Michael Van Canneyt schrieb:
> > 
> > I didn't mean the FPC implementation specifically, but XML in general 
> > is slow to parse.
> 
> Yes
> 
> 
> > I know, but this would require a major rewrite of FPDoc. 
> > The TDOMElement is deeply rooted in the structure. 
> > And you need the XML anyway for transforming the pseudo-html, so I see 
> > no gain in having another backend.
> 
> This is not quite true. FPDoc can work with XML fragments, which you can
> store in a database. Looking up elements would be much faster then.

Yes, I know. I even have a database model ready for it...

My plan was to have the descriptions in the database, and produce
a correct XML file which is then fed to fpdoc.

I'm not yet convinced that having a DB backend to FPDoc will be so trivial,
but if you think it's easy to do: I'm all for it :-)

Michael.


More information about the fpc-pascal mailing list