xsl-list
[Top] [All Lists]

Re: Changing sort order via a parameter

2003-06-04 16:30:12

you can't use xsl:attribute with xsl instructions


You can do
<xsl:variable name="x">
  <xsl:choose>
  ... what you had
</xsl:variable>
<xsl:for-each select="...">
 <xsl:sort select="zzz" data-type="{$x}"/>

David

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>