Apologies for a vague specification. Desired features:
- Several (10+) different types of reports
- Common graphic design
- Reports are static -- not interactive CGI apps.
- Reports contain both text and tables and figures. Some text is stock, others are templated.
- Reports are rendered for different media: html for intranet (one page with internal links), for paper (pdf with sensible page breaks), et.
Here's an example of a templated section, written in psuedo TT2 code ...
## PSUEDO CODE
"Parsing [% num_major_files %] files generated a total
of [% num_major_incidents %] incidents, falling into
[% num_classes %] classes. Table [% an autogenerated
table number would go here %] presents the top 10
incident categories. Note that [% top_incident_class %]
comprises [% top_fract %] of the cases ....
A good DTD would get me much of the way there. I'm seeking an decent XML spec for sections, tables, figures, captions, etc.
rkg