|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Zipping xsl:result-documents into ePub
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.jusevicius@xxxxxxxxx]
> Sent: Tuesday, August 25, 2009 5:55 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






