Problem w/ XSLT in IE

  • 15 years ago

    I have an XML file and an accompanying XSLT file. The section of XSLT that I'm having a problem with is supposed to generate an HTML table, with a font tag wrapped around it, with the size, color, and face attributes in that font tag coming from the formatting section of the XML file. When opened in Fire Fox, this section of code works as expected, but in IE the color of the font is not used from the xml file; therefore it shows up as the default black color.


    Code:

    <font size="{review/format/text/@size}" face="{review/format/text/@font}" color="{review/format/text/@color}">
    <table colspan="3px">
    <xsl:for-each select="review/specs/spec">
    <tr>
    <td><b><xsl:value-of select="@name"/>:</b></td>
    <td align="right"><xsl:value-of select="@value"/></td>
    </tr>
    </xsl:for-each>
    </table>
    <br/>


    Any idea on how to get this to work right in IE? Thanks.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Every language has an optimization operator. In C++ that operator is ‘//’”