|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: passing a parameter to select attribute of <xsl:sort>
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








