Re: [xsl] efficiently extracting a capture group from analyze-string()

Subject: Re: [xsl] efficiently extracting a capture group from analyze-string()
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 4 Jun 2022 18:47:12 -0000
On 04.06.2022 17:30, Chris Papademetrious
christopher.papademetrious@xxxxxxxxxxxx wrote:
>
> I had to define
>
> B  xmlns:fn=http://www.w3.org/2005/xpath-functions
>
> in my stylesheet for fn:group to match, and Ibm not sure if therebs a
> better way to do that too.
>

I am not a fan of a wildcard for the namespace prefix but when I would
only need fn to access the analyze-string result (or a quick selection
in some json-to-xml result) I sometimes allow myself to take the
wildcard e.g. *:group ( or for JSON e.g. *:map) shortcut.

Current Thread