feeding docx into collection()

Graydon Saunders <[email protected]> Tue, 24 Nov 2020 20:29:05 -0500
Newsgroups gmane.text.xml.saxon.help
Message-ID <CAO3ciQFYJBUb7cEEF+6ehakMpW897QwgsKFvQmr3dt7BawGq8Q@mail.gmail.com>
Hello --

https://www.saxonica.com/html/documentation/sourcedocs/collections.html

says

A URI is recognized as a ZIP or JAR file URI if the scheme name is "jar",
or if the file extension is "zip" or "jar".
Which means that I need to rename a docx archive to have a ".zip" suffix if
I want to open it with collection().  Which is not especially challenging
but which lacks elegance.

Is there a way to explain to collection() that this URI is a zip archive,
irrespective of suffix?

Thanks!
Graydon

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help