Packaging and hub documents

Andy Dent dent at oofile.com.au
Mon Jun 14 22:39:55 BST 1999


At 14:21 -0400 14/6/99, David Megginson wrote:
>Tim Bray writes:
>
> > It is becoming painfully obvious that we need a general-purpose
> > packaging mechanism to deliver an arbitrary number of related
> > whatevers along with a piece of XML payload.

I just want to contribute a non-web example that's a real-world 
example about to be used by thousands of teachers in the next year. 
It's an extension of our report-writer technology being shipped in a 
client application.

The OOFILE report writer now has the ability to save a report to a 
single desktop document and retrieve it for later viewing, printing 
and (about to be released) editing of content.

A report document includes the report layout description as well as 
all the data included in the report.

Issues included:
- packaging multiple reports
   - multiple stylesheets
   - multiple locally scoped database schema
   (like many others our RW allows you to combine many reports
    into one master report, viewable and printable as a single report
    but with unique page streams)

- embedding stylesheets (we handle style and layout in separate areas)

- embedding schema (mild extension of the current WG being used)

- embedding graphics
   (not actually shipping yet as the immediate client didn't need it
    but we will use base64 encoding of blob field types)

Wrapping this in multi-part MIME would have complicated the parsing 
considerably. Using expatpp and the sub-parser model in particular 
made it fairly straightforward to parse.

http://www.highway1.com.au/adsoftware/expatpp.html for the expatpp 
parser (c++ extension of expat)

Samples of report output available at
<ftp://ftp.highway1.com.au/pub/adsoftware/xml/reportOutput/>

Andy Dent BSc MACS AACM, Software Designer, A.D. Software, Western Australia
OOFILE - Database, Reports, Graphs, GUI for c++ on Mac, Unix & Windows
PP2MFC - PowerPlant->MFC portability
http://www.oofile.com.au/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list