Hello,
.odt files are just .zip files that contain meta.xml, settings.xml,
styles.xml and content.xml (this last file being the document itself,
the other containing what their name suggest).
You can rebuild the whole document file in xml by concatening the content
of the above four files (after their respective root element) in an
<office:document> element.
In Saxon you can access directly any 'bar.xml' file inside a 'foo.zip'
file as such:
doc('jar:foo.zip!/bar.xml')
Hope this helps.
Regards,
EB
-----Original Message-----
From: Martynas Jusevicius
[mailto:martynas(_dot_)jusevicius(_at_)gmail(_dot_)com]
Sent: Tuesday, August 25, 2009 5:55 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Zipping xsl:result-documents into ePub
Thanks Florent, EXPath worked like a charm! So far at least. I joined
the Google Group.
Maybe you have an example on reading OpenDocument (at least .odt), so
that I could drop ODFToolkit and have my whole ODF > ePub workflow as
XSLT? :)
Martynas
semantic-web.dk
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--