|
Subject: ie5 question From: "Will Fraser" <wfraser@xxxxxxx> Date: Thu, 27 Apr 2000 19:54:57 -0400 |
I've checked, and I don't think this is a FAQ. If it is, my apologies.
I'm using ie5 to process soem xml/xsl into html. I'm getting a weird
Jscript error. Specifically:
Microsoft JScript compilation error Expected ')' line = 1, col = 13 (line is
offset from the tag). [(position() mod 2) = 0]
I think my code is correct, but being new to this could likely be wrong. Is
this a problem with ie5 or myself? Could someone kindly point out what is
causing this error? Following is the code:
<xsl:attribute name="class">
<xsl:choose>
<!-- When the row is even color it darker than the rest -->
<!-- <xsl:when expr="[(position() mod 2) = 0]"> darkgreybground
</xsl:when>
<xsl:otherwise>lightgreybground</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
Many thanks. Will Fraser
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Displaying every 2 element valu, Selva, Francis | Thread | RE: ie5 question, Jonathan Marsh |
| RE: Displaying every 2 element valu, Selva, Francis | Date | Re: Attributes, modes and templates, Alex Lancaster |
| Month |