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

Subject: Re: [xsl] Running xsltproc does not produce any output
From: "Piez, Wendell A. (Fed) wendell.piez@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Jul 2024 14:10:46 -0000
Jim,

See, what he said. p


XSLT 1.0 is something of an art but it is not dead, there are still
practitioners and neat solutions to be had. (You might even find coaches if
you approach it the right way, maybe contributors to this list who write XSLT
in return for sandwiches or other valued assets.)

But it might be something like maintaining an old car b potentially a very
effective and economical solution if you only drive once a week, but only for
some people. (And when does an old car become an old boat, etc.)

Cheers, Wendell

From: Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, July 23, 2024 8:45 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Running xsltproc does not produce any output



On 23/07/2024 14:32, ohaya ohaya@xxxxxxxxx<mailto: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-expressions    regexp:match()    true
http://exslt.org/regular-expressions    regexp:replace()    true
http://exslt.org/regular-expressions    regexp:test()    true



but again using those if you target Xalan C++ where they are not supported
might not help.
XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe<http://lists.mulberrytech.com/unsub/xsl-list/3302254> (by
email<>)

Current Thread