xsl:result-document writing to file containing spaces
When the base output URI used for
xsl:result-document represents a directory with spaces in its name, the result document is written to a path with
%20 in the name, e.g.
Updated by Michael Kay over 3 years ago
First attempt to find a solution led me to the npm package filenamify, which purports to convert URIs to filenames. But as far as I can see, it doesn't decode %HH escape sequences.
The module at https://github.com/TooTallNate/file-uri-to-path looks a better bet, judging by the examples.
But most of its work is done using decode-uri(), which is a global function, and which we could probably use directly.
Please register to edit this issue