Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: XML/XSL Sequence Numbers [Thread Next] Re: XML/XSL Sequence NumbersTo: NULL Date: 8/3/2006 11:25:00 PM
HugeBob wrote:
> Here's what I'm trying:
>
> <TR
> <xsl:if test="number(position() mod 2) > 0">
> <xsl:text>class="alternateBg"</xsl:text>
> </xsl:if>
Here you are creating a text node. Use xsl:attribute.
--
Johannes Koch
Spem in alium nunquam habui praeter in te, Deus Israel.
(Thomas Tallis, 40-part motet)
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
