|
Subject: [xsl] Conditional xsl:sort From: "David B. Bitton" <david@xxxxxxxxxxxxxx> Date: Thu, 13 Jun 2002 10:18:01 -0400 |
I have the following:
...
<xsl:for-each select="Transaction">
<xsl:sort select="*[local-name() = string($sortby)]"
data-type="{$datatype}" order="{$order}"/>
<xsl:if test="$sortby = 'Description'">
<xsl:sort select="Code" data-type="number" order="{$order}"/>
</xsl:if>
...
and I'm getting this:
...
Keyword xsl:sort may not be used here.
...
for the second, conditional, xsl:sort. Why?
--
David B. Bitton
david@xxxxxxxxxxxxxx
www.codenoevil.com
Code Made Fresh DailyT
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: AW: [xsl] Problem parsing cp125, Paul Terray | Thread | Re: [xsl] Conditional xsl:sort, Jeni Tennison |
| Re: AW: [xsl] Problem parsing cp125, David Carlisle | Date | RE: [xsl] Format number problem, AXRAMAKR |
| Month |