[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: efficiently extracting a capture group from a
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|