xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Kelly" <ke...@mail2a.jpl.nasa.gov>
Subject Re: Colored table :)
Date Tue, 28 Mar 2000 14:46:39 GMT
> <xsl:template match="blk_item[position() div 2 != floor(position() div
2)]">

Nice trick.  On Xalan 1.0.0, the following also works:

<xsl:template match="blk_item[position() mod 2 = 0]">

Whether "mod" is a Xalan extension or a legal XPath expression ... I don't
know.

Take care.
--Sean


Mime
View raw message