cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: conditions in xsl
Date Wed, 11 Jun 2003 02:24:32 GMT
Conal Tuohy wrote:

>Hi Tim
>
>This question is best asked on the XSL List, rather than Cocoon Users, but here's an answer
anyway:
>

Completely agree with this

>Test to see if the report has any preceding reports. Perhaps something like:
>
><div id="sw{normalize-space(report-name)}">
>	<xsl:if test="not(preceding-sibling::report)">
>

test="position() = 1" also should work

Vadim


>		<xsl:attribute name="class">dlgSwitchSelected</xsl:attribute>
>	</xsl:if>
>
>...
>
></div>
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message