Project

Profile

Help

Bug #1751 » deb.xsl

Alex Jitianu, 2013-04-29 14:42

 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:variable name="a" select="true()"/>
<xsl:variable name="v" select="2"/>
<xsl:choose>
<xsl:when test="$v=1">
<b> Hello 1. </b>
</xsl:when>
<xsl:when test="$v eq 2">
<i> Hello 2. </i>
</xsl:when>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
(1-1/2)