This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
If.. then OR xsl:choose question
- From: Meir <umen at netvision dot net dot il>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 18 Jun 2002 10:02:17 -0700
- Subject: [xsl] If.. then OR xsl:choose question
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello list
Tell me please if i like in xsl file
to make simple if ..then state
but to tell the xsl some thing like this :
<xsl:when test="@pos='First'">
<div style="border:'1px solid green';padding-left:20">
</xsl:when>
<xsl:otherwise>
<div style="border:'1px solid green'">
</xsl:otherwise>
</xsl:choose>
as you see im trying to make the if based on ="@pos='First' But its giving
me error
that i have to include the closing <div> tag .. but i can't cos it will
break the xsl proceeding order, so is there any way to make
xsl to pick the right div?
tnx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list