xsl-list
[Top] [All Lists]

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

2011-09-20 03:56:21
  <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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>