Hi Dave!

Thanks for the quick and positive reply..

Dave Pawson wrote:
On 18/10/2007, Svante Schubert <[EMAIL PROTECTED]> wrote:
The reason why the XSLT processor requires office:document and not
office:document-content is that it expects to receive one single
unzipped XML stream/file, where at least content.xml, meta.xml and
styles.xml are being merged to one, often called the "flat XML file".
Even embedded pictures of the ODF document are being merged into this
XML file Base64 encoded.

Which does sound very wasteful. Especially for large documents
with many images?



Is this the best way to do it?

Best for what :-)

Of course for you and me and the community! ;-)


Finally if an XSL transformation is based not on a flat xml format, but
on the package format, the similar transformation can be easily be used
outside of the office, for instance as part of a browser extension.

Anyone here who would be able and interested to make such an improvement
come alive?

Not without some agreement that this approach is supported by ODF.

Certainly it is supported by ODF, we even could work on the well defined ODF package.

It's hardly a lot of work though?

I doubt it is a lot of work, although I have not made any time assumption due to my work on other projects..

If there is some XSLT framework redesign, possibly we could find others as well who like to give ideas and some source on such nice features as exchangeable XSLT processor provided as UNO component, user parameters, etc..
The OOo XSLT heaven is such close.. ;-)

I have code that deals with an unzipped ODF document, which I guess
is just the sort of thing that you're referring to?

Possibly, we need to get the streams from the Office UNO api.


Where is the manifest defined please? I'm assuming it's an XML format.

The manifest is indeed an XML file and it's definition and RelaxNG Schema is part of the ODF spec and in ODF 1.2 in an own document describing the packaging mechanism, currently [1] is the latest draft among the ODF document accessible from OASIS [2].

[1] http://www.oasis-open.org/committees/download.php/25263/compact_OpenDocument-package-v1.2-draft6.odt
[2]
http://www.oasis-open.org/committees/documents.php?wg_abbrev=office


Regards,
Svante

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to