|
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: passing a parameter to select a, Wendell Piez | Thread | RE: passing a parameter to select a, Kay Michael |
| Re: Machine-readable comments (Was:, Mike Brown | Date | Re: XSL variable..., Philippe D'Hont |
| Month |