cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject JX Template: setting attributes
Date Thu, 11 Sep 2003 10:47:10 GMT
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
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


Mime
View raw message