Subject: Re: [xsl] Re: efficiently extracting a capture group from analyze-string() From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 4 Jun 2022 18:17:39 -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, Chris Papademetrious | Thread | Re: [xsl] Re: efficiently extractin, Graydon graydon@xxxx |
Re: [xsl] efficiently extracting a , Dimitre Novatchev dn | Date | Re: [xsl] efficiently extracting a , Chris Papademetrious |
Month |