RE: character entity references; saxon ie 6.0 differen
David, Here's my doctype decl: <?xml version="1.0" ?> <?xml-stylesheet type="text/xsl" href="xsl/wrapper_dividends.xsl"?> <!DOCTYPE PUBLICATION [<!ENTITY % isolat SYSTEM "../xml_isolat1.ent" > <!ENTITY % isopub SYSTEM "../xml_iso-pub.ent" > <!ENTITY % isonum SYSTEM "../xml_iso-num.ent" > %isolat; %isopub; %isonum;]> ie is finding the external files (only tried locally) and translating the entities alright. I have eacute's elsewhere in the file and they are being translated fine. So in my previous xsl snippet if the rule was: <xsl:for-each select="RECORDITEM"> <td align="right"> <font face="verdana" size="1"> <xsl:value-of select="."/> </font> </td> </xsl:for-each> the entity is translating. But when the rule is <xsl:value-of select="text()"/> IE is not interpreting the entity as text. Dan -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: August 26, 2003 1:43 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: character entity references; saxon ie 6.0 differences Sorry, I guess I should have specified I have the entity defined as <!ENTITY eacute "é" ><!--=small e, acute accent --> in external files MSXML does read external DTD files so the most likely cause is a bad URI to the DTD, eg a path that works locally but not on a server. However if that is the case you usually get an error from the XML parse saying the file could not be found... David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ 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