Glad you got it fixed..
 
Now run and hide! 'Cause XSL never leaves you alone... it hangs around for years like 
a bad smell.
 
I'll never use XSL again for the generation of a dynamic site. I might use it in 
passing here and there, but it makes for such a legacy item.
 
I'm really keen to hear from others in the field, if only to see if the bad taste was 
just my orange juice and toothpaste again.
 
Brendan

________________________________

From: James Silva [mailto:[EMAIL PROTECTED]
Sent: Thu 27/11/03 4:45 PM
To: [EMAIL PROTECTED]
Subject: RE: [WSG] [OT] XSL [Virus checkedAU]




Thanks so much everyone.

I ended up with the following :

<xsl:for-each select="/Chart/ChartBody/Record">
<tr>
<xsl:if test="position() mod 2 = 1">
<xsl:attribute name="class">tblAltRow</xsl:attribute>
</xsl:if>
        <td><xsl:value-of select="Bullet"/></td>
        <td><xsl:value-of select="ThisWeek"/></td>
        <td><xsl:value-of select="LastWeek"/></td>
        <td><xsl:value-of select="TimesIn"/></td>
        <td><xsl:value-of select="HighPoint"/></td>
        <td><xsl:value-of select="Title"/></td>
        <td><xsl:value-of select="Artist"/></td>
        <td><xsl:value-of select="Accreditation"/></td>
        <td><xsl:value-of select="Company"/></td>
        <td><xsl:value-of select="CatalogueNo"/></td>
</tr>
</xsl:for-each>


Lindsay, the MS XMLDOM object im using borks at the "expr" attribute...
"test" seems to work fine.

Thanks again everyone.
____________________________
James Silva
Web Production
Gruden Pty Ltd

Tel:   +61 02 9956 6388
Fax:   +61 02 9956 8433
Email: [EMAIL PROTECTED]
Web:   http://www.gruden.com
____________________________

*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************



<<winmail.dat>>

Reply via email to