Worked the second time - I think I may have been reading an outdated file.
Sorry.
Mark
On 9/9/2015 2:55 AM, David Carlisle
d(_dot_)p(_dot_)carlisle(_at_)gmail(_dot_)com wrote:
On 9 September 2015 at 10:45, Mark Wilson pubs(_at_)knihtisk(_dot_)org
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
Neither appears to.
hard to guess why unseen code doesn't work:-)
This
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="x">
<xsl:message select="replace('abc 123 (0123)','\(0','X')"/>
</xsl:template>
</xsl:stylesheet>
Produces
$ saxon9 -it:x gg.xsl
abc 123 X123)
where the (0 has been replaced.
David
--~----------------------------------------------------------------
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
--~--