On Tue, Nov 17, 2020 at 09:26:23PM -0000, Michael Kay
mike(_at_)saxonica(_dot_)com wrote:
The document() function expects a URI, not a filename, and URIs never contain
accented characters.
XSLT 2.0+ has functions to escape special characters using %HH escapes so you
can turn arbitrary filenames into valid URIs.
For xsltproc you'll need some processor-specific solution and I can't help
you with that.
Thanks for your help Michael.
I'll find a way to URI-encode the filepath's. There seems to be a
couple.
… for instance :
$ sudo apt-get install gridsite-clients
which provides `urlencode`
(https://www.urlencoder.net/linux-urlencode)
that or perl/python modules…
Thanks again and best regards,
Alexandre Hoïde
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--