[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Zipping xsl:result-documents into ePub

Subject: RE: Zipping xsl:result-documents into ePub
From: Emmanuel Bégué <eb@xxxxxxxxxx>
Date: Tue, 25 Aug 2009 18:31:13 +0200
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.