Re: [xsl] Running xsltproc does not produce any output

Subject: Re: [xsl] Running xsltproc does not produce any output
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jul 2024 12:44:38 -0000
On 23/07/2024 14:32, ohaya ohaya@xxxxxxxxx wrote:
>
>
> If xsltproc won't work (because no regex extension), then I think that
> maybe that XSLT Fiddle website that Wendell suggested in his message
> might work?
>
I am not sure which XSLT fiddle Wendell had in mind, if you want to use
XSLT 3, the current version of XSLT since 2017, in the browser then
there are certainly lots of options (disclaimer: I created them)

  * https://martin-honnen.github.io/xslt3fiddle/
  * https://martin-honnen.github.io/cheerpj3-saxonhe12-fiddle/
  * https://xsltfiddle-beta.liberty-development.net/
  * https://saxonc-xmlworkbench.azurewebsites.net/

where you have fn:replace/fn:matches/fn:anaylze-string with regular
expression support and xsl:analyze-string. None of those, currently,
however, allows you to use more than one XSLT file (e.g.
xsl:import/xsl:includes), unless you host them over HTTP(S).

But if you target an XSLT 1.0 environment writing code in XSLT 3.0 is
not necessarily a way towards getting code to run in your XSLT 1.0
environment.

For what it's worth, I also have a libxslt/XSLT 1.0 fiddle
athttps://martin-honnen.github.io/pyodide-xml-workbench/index-working-directo
ry.html,
the EXSLT support there includes


regular-expressions
http://exslt.org/regular-expressionsB B  B regexp:match()B B  B true
http://exslt.org/regular-expressionsB B  B regexp:replace()B B  B true
http://exslt.org/regular-expressionsB B  B regexp:test()B B  B true


but again using those if you target Xalan C++ where they are not
supported might not help.

Current Thread