cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <mengelh...@earthtrip.com>
Subject Re: XSL brainteaser...
Date Fri, 10 Mar 2000 16:23:36 GMT
Laurent Eskenazi wrote:

> Hi!
> 
> I'm intereted in this trick but I don't exactly see how to do it...could you
> post a code sample so that I could understand it ?
> 
> Thanks !
> 
> Laurent
> 
>> Thanks very much Peter and Mike!
>> 
>> My docs didn't say anything about using expressions in the <xsl:if>, I
>> thought I was limited to simple <, >, = and !=.  Xalan wouldn't take
> Peter's
>> example as it was, so I had to use:
>> 
>> <xsl:if test="(position() mod 2) = 0">
>> 
>> as Mike suggested.  But it works a charm now.

What's the question??  What don't you understand or what exactly are you
looking to do and then it may be easier to help :=)

mike


Mime
View raw message