Subject: RE: [xsl] XSLT: text()=''' From: "Cole, Chris" <chris.cole@xxxxxxxxxxxxxxxxxxxxx> Date: Fri, 11 Jul 2003 15:23:15 -0000 |
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@xxxxxxxx] > Sent: 11 July 2003 15:39 > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT: text()=''', David Carlisle | Thread | AW: [xsl] XSLT: text()=''', Markus Abt |
Re: [xsl] XSLT: text()=''', David Carlisle | Date | Re: [xsl] Strange Problem with docu, Steve Rosenberry |
Month |