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.
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Cecil New
Sent: 07 November 2007 14:28
To: saxon-help
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.
 
Thanks