| Subject: Re: [xsl] Re: efficiently extracting a capture group from  analyze-string() From: "Chris Papademetrious christopher.papademetrious@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 4 Jun 2022 17:49:56 -0000 | 
Hi Gerrit,
You avoided my ENTITY threat nicely. :)
I think I'm going to put the analyze-string() stuff into a function and call
it good:
  <xsl:function name="mine:get-match" as="xs:string?">
    <xsl:param name="string" as="xs:string"/>
    <xsl:param name="pattern" as="xs:string"/>
    <xsl:sequence select="analyze-string($string, $pattern)//fn:group[1]"/>
  </xsl:function>
 - Chris
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] Re: efficiently extractin, Imsieke, Gerrit, le- | Thread | Re: [xsl] Re: efficiently extractin, Imsieke, Gerrit, le- | 
| Re: [xsl] Re: efficiently extractin, Imsieke, Gerrit, le- | Date | Re: [xsl] Re: efficiently extractin, Graydon graydon@xxxx | 
| Month |