cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <mcord...@maine.edu>
Subject Re: dynamic xsl:sort
Date Thu, 24 Aug 2000 18:44:32 GMT
Nope that won't work.  Try the xsl faq here: http://www.dpawson.co.uk/.

-matt

On Thu, Aug 24, 2000 at 08:13:36AM -0400, Joshua Spoerri wrote:
> this doesn't work:
>  <table>
>  <xsl:for-each select="*">
>   <xsl:sort select="$sort"/>
>    <tr><xsl:for-each select="*"><td><xsl:value-of select="."/></td></xsl:for-each></tr>
>  </xsl:for-each>
>  </table>
> 
> nor does this:
>   <xsl:sort><xsl:attribute name="select"><xsl:value-of select="$sort"/></xsl:attribute></xsl:sort>
> 
> and this yields an error:
>   <xsl:sort select="{$sort}"/>
> 
> of course i have <xsl:param name="sort">default</xsl:param> in the proper
place
> 
> please don't tell me i have to use an intermediate sheet to do this.
> 
> thanks in advance,
> joshua spoerri
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 

Mime
View raw message