You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Leszek Gawron <ou...@wlkp.org> on 2003/09/09 00:32:09 UTC

XSP + XSL -> JXTemplate

Hello,
I am porting my web application from XSP + XSL to JXTemplate.
The problem is: how can I model this kind of functionality using jx?:

<select>
    <option>
        <xsl:if test="value = '1'">
            <xsl:atrribute name="selected"/>
        </xsl:if>
        yes
    </option>
	<option>
		<xsl:if test="value='0'"/>
			<xsl:attribute name="selected"/>
		</xsl:if>
		no
	<option>
</select>


	LG
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


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