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

Re: [xsl] analyze-string gotcha/reminder


Subject: Re: [xsl] analyze-string gotcha/reminder
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 19 Nov 2012 09:36:34 +0000

> It's a case where even in retrospect, it's hard to see how we could have
> avoided this problem in the language design. Perhaps two separate
> attributes, regex and regex-avt.

or maybe a child element instead of an attribute:

<xsl:analyze-string>
  <xsl:regex>  ...  </xsl:regex>
  <xsl:matching-substring> ....
  <xsl:non-matching-substring> ....



-- 
Andrew Welch
http://andrewjwelch.com


Current Thread