W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > March 2006

Re: XML Processing Model - ODF/OpenXML use case

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 17 Mar 2006 21:34:54 +0000
To: "Inigo Surguy" <inigo.surguy@csw.co.uk>
Cc: public-xml-processing-model-wg@w3.org
Message-ID: <87wtesah78.fsf@nwalsh.com>
>
>
>[[PGP Signed Part:Norman Walsh <ndw@nwalsh.com>]]
>[Adding public-xml-processing-model-wg@w3.org to CC:]
>
>/ "Inigo Surguy" <inigo.surguy@csw.co.uk> was heard to say:
>| Hi,
>>
>| Martin Bryan suggested that I contacted you with this use case for the
>| XML Processing Model.
>>
>| Looking at the XML Processing Model document, I can't see any use case
>| that directly covers creating ODF/OpenOffice and MS Office 12 documents:
>| which are aggregations of multiple XML files (and other files) inside a
>| zip. 
>>
>| It's similar to a combination of the "5.6 XQuery and XSLT 2.0
>| Collections" usecase to output a collection of documents, and the "5.4
>| Run a Custom Program" to combine those documents into a zip using a
>| custom program - but use case 5.4 is explicitly about running against a
>| single XML file and displaying it in a browser, which doesn't cover it.
>>
>| So:
>>
>| Generate Archive
>| ================
>>
>| Several common document formats, such as the OpenDocument Format and MS
>| Office Open XML, use a zip container for multiple XML and non-XML files.
>| To generate these:
>>
>| 1. Accept a single document as input
>
>A single XML document?
>
>| 2. Process the document with XSLT to create a collection of documents 
>| 3. Pass the collection of documents to a custom program with some
>| parameters 
>| 4. The custom program combines the documents to a zip archive, and may
>| also include other non-XML resources (e.g. images) identified in the
>| documents.
>
>Steps 3 and 4 sound like a custom component to me. Custom components
>can do anything they like so I don't think it'll be difficult to cover
>this use case.
>
>I've CC'd the WG list and we'll see about getting this into the
>requirements document.
>
>| Inigo
>>
>| (CSW Group Ltd. is a member of the OpenDocument Format Alliance)
>>
>| --
>| Inigo Surguy
>| Principal Technical Consultant
>>
>| CSW Informatics 
>>
>| *********************************************** 
>| Tel:            +44 1865 337400 
>| Mob:            +44 7974 214718
>| Web:            http://www.csw.co.uk
>| Skype:          inigosurguy
>| Registered in England No. 4198197 
>| http://www.csw.co.uk/disclaimer.htm
>| ************************************************  
>
>                                        Be seeing you,
>                                          norm
>
>-- 
>Norman Walsh <ndw@nwalsh.com> | There has never been a perfect
>http://nwalsh.com/            | government, because men have passions;
>                              | and if they did not have passions,
>                              | there would be no need for
>                              | government.-- Voltaire
>[[End of PGP Signed Part]]
--=-=-=--
Received on Saturday, 18 March 2006 10:40:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:47 GMT