Hi Markus,
Thanks very much for your help - that seems to work! I thought that with
' being one of the 5 entities defined in XML that this would be
preserved as an entity, but obviously I was wrong.
Thanks again
Chris
-----Original Message-----
From: Markus Abt [mailto:abt(_at_)comet(_dot_)de]
Sent: 11 July 2003 15:39
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: AW: [xsl] XSLT: text()='''
Hello Chris,
the following are equivalent (and all wrong):
<xsl:template match="//subjectterm[text()='Employees'
rights and obligations']"> <xsl:template
match="//subjectterm[text()='Employees' rights and
obligations']"> <xsl:template
match="//subjectterm[text()='Employees' rights and
obligations']">
The XML parser treats ' and ' equal. The XSLT processors
sees three ' and produces an error. You may try:
<xsl:template match="//subjectterm[text()="Employees'
rights and obligations"]">
Bye,
Markus
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list