Subject: Re: [xsl] character entity references; saxon ie 6.0 differences From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 26 Aug 2003 14:10:42 -0400 |
I have the following XML fragment:
<RECORDITEM sqlsource="cityprov" colname="col4">Montréal, QC<RECORDREF>specialannual</RECORDREF></RECORDITEM>
I want my output to be:
<td>Montréal</td><td>specialannual</td> My xsl is: <xsl:for-each select="RECORDITEM"> <td align="right"> <font face="verdana" size="1"> <xsl:value-of select="text()"/> </font> </td> <td align="right"> <font face="verdana" size="1"> <xsl:value-of select="RECORDREF"/> </font> </td> </xsl:for-each> When I use ie 6.0 to open this the entity "é" is not interpreted as text? so I get something like the following: <td align="right>Montr</td><td align="right">specialannual</td> When I translate it with saxon everything comes out as I want. Which is correct and can I write my XSL to overcome the discrepancy?
<RECORDITEM sqlsource="cityprov" colname="col4"> <VALUE>Montréal, QC</VALUE> <RECORDREF>specialannual</RECORDREF> </RECORDITEM>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] character entity referenc, Wendell Piez | Thread | Passing element nodes through strin, Brook Ellingwood |
[xsl] How to get attribute values a, Dipesh Khakhkhar | Date | Re: [xsl] character entity referenc, Brook Ellingwood |
Month |