You might be interested reading this, http://www.xml-connection.com/2007/09/xquery-your-office-documents.html
[mailto:firstname.lastname@example.org] On Behalf Of Michael Kay
Sent: Wednesday, November 07, 2007
To: 'Mailing list for SAXON XSLT
Subject: Re: [saxon] A Zip URL
It might be that the jar: URL scheme works
on arbitrary ZIP files - try it and see. Otherwise you can always write your
own URIResolver to handle a private scheme of your own.
[mailto:email@example.com] On Behalf Of Cecil New
Sent: 07 November 2007 14:28
Subject: [saxon] A Zip URL
Is there a such thing as a zip url, something like: zip:/content.xml
As you might guess, I am interested in running xqueries against an
OpenOffice.org ODF "file";
And if saxon does not support zip file as an input source, can someone
point me to how to construct a saxon-friendly interface?
I realize I could do it in two steps in a custom java approach - was
more interested in a saxon specific approach.