I lie, it doesn't validate in Oxygen. In Oxygen I get this:
Error in expression replace(.,'--',''): Unknown system function: replace
-----Original Message-----
From: Michele R Combs mrrothen(_at_)syr(_dot_)edu
[mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: Tuesday, August 09, 2016 12:32 PM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: Re: [xsl] Matching two consecutive hyphens
Actually, now that I look at it, the contains test appears to be working
correctly.
The error is showing up in the next line, where I'm trying to get rid of those
2 dashes:
<xsl:value-of select="replace(.,'--',' ')"/>
The style sheet validates in Oxygen, and using Oxygen I can run the transform
with no problem. However, when I try to do it in the browser (Firefox or IE) I
get this:
Error during XSLT transformation: An unknown XPath extension function was
called.
So maybe the problem isn't the double dashes but something else?
-----Original Message-----
From: Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de
[mailto:xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: Tuesday, August 09, 2016 12:20 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Matching two consecutive hyphens
Which error do you get?
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--