|
Subject: [xsl] Alternative to xsl:choose? From: "john-xsl-list" <john-xsl-list@xxxxxxxx> Date: Wed, 22 Sep 2004 14:07:14 -0400 |
The basic difference in these two conditions is that the first executes the
sc:link extension and outputs the result, the second simply outputs the
strong tag. It seems like there should be an easier/shorter/less redundant
way to code this - any suggestions?
<xsl:choose>
<xsl:when test="$id != @id">
<sc:link><sc:text field="headline" /></sc:link>
</xsl:when>
<xsl:otherwise>
<strong><sc:text field="headline" /></strong>
</xsl:otherwise>
</xsl:choose>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] XSL equivalent of SQL hav, cknell | Thread | Re: [xsl] Alternative to xsl:choose, Josh Canfield |
| Re: [xsl] XSL equivalent of SQL hav, john-xsl-list | Date | Re: [xsl] XSL equivalent of SQL hav, Francesco Barresi |
| Month |