|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT: text()='''
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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








