AW: [xsl] XSLT: text()='''

Subject: AW: [xsl] XSLT: text()='''
From: Markus Abt <abt@xxxxxxxx>
Date: Fri, 11 Jul 2003 16:39:10 +0200
Hello Chris,

the following are equivalent (and all wrong):

<xsl:template match="//subjectterm[text()='Employees&apos; rights and obligations']">
<xsl:template match="//subjectterm[text()='Employees' rights and obligations']">
<xsl:template match="//subjectterm[text()=&apos;Employees&apos; rights and obligations&apos;]">

The XML parser treats &apos; and ' equal. The XSLT processors
sees three ' and produces an error. You may try:

<xsl:template match="//subjectterm[text()=&quot;Employees' rights and obligations&quot;]">

Bye,
Markus



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread