[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Using analyze-string to add tabs


Subject: Re: [xsl] Using analyze-string to add tabs
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 20 Sep 2011 09:55:26 +0100

>   <xsl:analyze-string select="." regex="(\d{1,3}\.)(.*?)">

Maybe try changing that to:

<xsl:variable name="regex" as="xs:string">(\d+\.)(.*)</xsl:variable>

<xsl:analyze-string select="." regex="{$regex}">




--
Andrew Welch
http://andrewjwelch.com


Current Thread