xsl-list
[Top] [All Lists]

AW: XSLT: text()='''

2003-07-11 07:39:10
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



<Prev in Thread] Current Thread [Next in Thread>
  • AW: XSLT: text()='&apos;', Markus Abt <=