xsl-list
[Top] [All Lists]

(unknown)

2003-08-26 09:30:08
I have the following XML fragment:

<RECORDITEM sqlsource="cityprov" colname="col4">Montr&eacute;al,
QC<RECORDREF>specialannual</RECORDREF></RECORDITEM>

I want my output to be:

<td>Montr&eacute;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 "&eacute;" 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?


Thanks in advance,

Dan Whitney

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>