RE: passing a parameter to select attribute of <xsl:sort>

Subject: RE: passing a parameter to select attribute of <xsl:sort>
From: "Ryan Daigle" <rwdaigle@xxxxxxxxx>
Date: Wed, 21 Jun 2000 20:45:46 -0400
This is, in fact, just the hack I was looking for.  Jeni Tennison also
proposed a similar method:

  <xsl:apply-templates select="./listItem">
    <xsl:sort order="{$order}" select="./person/*[name() =
$orderingElement]"/>
  </xsl:apply-templates>


>Well, you could try the old hack:
>
> <xsl:apply-templates select="./listItem">
>    <xsl:sort order="{$order}" select="*[local-name()=$orderingElement]"/>
>  </xsl:apply-templates>


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


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


Current Thread