Re: [xsl] Matching two consecutive hyphens

Subject: Re: [xsl] Matching two consecutive hyphens
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 9 Aug 2016 16:19:23 -0000
On 09.08.2016 17:48, Michele R Combs mrrothen@xxxxxxx wrote:

The XML I'm given as input occasionally includes two consecutive
hyphens, which I need to test for and, if present, insert a line
break.  However, two consecutive hyphens in a standard contains()
test of course throws an error:

<xsl:if test="contains(.,'--')">...



Which error do you get?


Current Thread