You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by mike Phillips <re...@ureach.com> on 2000/12/12 17:24:16 UTC
Problems with xsl:when and xsl:if
Hi all,
I am new to this technology.
I would like to test some values using xs:if and xsl:when
coming from xml.
Something like this
<xsl:choose>
<xsl:when test="$pic = '12'">
<OPTION selected="selected" value="12">First </OPTION>
</xsl:when>
<xsl:otherwise>
<OPTION value="12">First</OPTION>
</xsl:otherwise>
<xsl:if test="@hef='50'">
<td><B><xsl:text>Test: </xsl:text></B>
<input type="text" name ="mids" SIZE="10" MAXLENGTH="10"
value="{hef}"></input>
</td>
</xsl:if>
Thanks in advance.
Reddy
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag