On Thu, Mar 13, 2014 at 12:19 PM, I wrote:
> For example, testing whether the value of an element ends in punctuation:
> 1.0 version:
> <xsl:variable name="punct">.:–„</xsl:variable>
> <xsl:if test="translate(substring(.,string-length(.)),$punct,'')" ... </xsl:if>
> As written, $punct includes only a period, a colon, and two kinds of dashes.
But I think this is wrong ... to be correct, it needs to be wrapped in a not().
Which kind of makes my point I guess. :-)
Sorry for the noise! Cheers, Wendell
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables