RE: [xsl] dynamic sorting

Subject: RE: [xsl] dynamic sorting
From: "Peter Billen" <peter@xxxxxxxxxxx>
Date: Thu, 5 Feb 2004 16:49:25 +0100
OOPS, I fucked up a little :) I was a little but too quick on the send
button.

I meant the following code:

<xsl:template match="/">
	<xsl:apply-templates select="person">
		<xsl:sort select="fname"/>
	</xsl:apply-templates>
</xsl:template>

and

<xsl:template match="/">
	<xsl:param name="sort">fname</xsl:param>
	<xsl:apply-templates select="person">
		<xsl:sort select="$sort"/>
	</xsl:apply-templates>
</xsl:template>

Sorry,

--
Peter


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


Current Thread