[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: character entity references; saxon ie 6.0 differen

Subject: RE: character entity references; saxon ie 6.0 differences
From: "Whitney, Dan (CanWest Interactive)" <DWhitney@xxxxxxxxxxx>
Date: Tue, 26 Aug 2003 14:00:22 -0400
canwest email
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           "&#x000E9;" ><!--=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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.