cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: JX Template: setting attributes
Date Fri, 12 Sep 2003 04:09:09 GMT
There's nothing similar in JXTemplate. For such cases, you have to 
duplicate the whole element in both parts of the condition.

Leszek Gawron wrote:

>I have already asked on users group with no response so I'm trying here :
>
>is there a way to set an attribute depending on xpath value? same in xslt
>would be : 
>
><xsl:if test="model/property = 'abc'">
>    <xsl:attribute name="selected"/>
><xsl:if>
>
>	LG
>  
>



Mime
View raw message