[fpc-pascal]How to make html files with dom unit
sguenther at gmx.de
Sun Nov 24 14:43:47 CET 2002
Karl Brandt wrote:
> I am looking for examples of how to make (simple) html/xml files using
> the fcl dom/htmldoc units
> Does anyone can help me?
You could have a look at the sources of FPDoc, this tool generates HTML
files (besides from doing other things, of course ;) )
Basically, you create your document as DOM tree, and then use the HTML
Writer (unit htmwrite) to write the document.
Regarding the htmldoc unit: I'll revise this unit very soon, so that it
gets more useful. The current implementation doesn't seem to do anything
useful at all :-/
And, expect some more helper classes for HTML generation soon...
More information about the fpc-pascal