Read a remote zipped xml with just XSL

Posted by Emaguel on Stack Overflow See other posts from Stack Overflow or by Emaguel
Published on 2010-06-10T08:53:36Z Indexed on 2010/06/10 10:33 UTC
Read the original article Hit count: 273

Filed under:
|
|
|
|

Hello there

I want to know if it's possible for an XSLT file to read data from an XML located within folders of a remote zip(from the server at work), without any external processors (saxon and so forth) and without downloading it.

Failing that, I'll resort to just reading the information from the zip... which brings me to my other (newb)issue.

I currently have an XSLT that accesses and gets the data from the downloaded and extracted XML file, but I can't do this without extracting it. I've read that with Altova and xslt 2.0 it is possible to read from within a zip file using the document() function, though, as of yet I have not been able achieve this.

this is how I'm trying to do it: document('name.zip|zip/folder/folder2/iwantthis.xml')

It just doesn't seem to find the file. I'd be almost eternally grateful if you show me the error of my ways and guide me into XSLThood.

Thank you kindly

© Stack Overflow or respective owner

Related posts about Xml

Related posts about xslt