[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

sorting with the value from a tag

Subject: sorting with the value from a tag
From: Melle Zegel <melle.zegel@xxxxxxxxxxxx>
Date: Tue, 10 Oct 2000 18:18:36 +0200
sort select tag
Hi 

we are trying to make the sort statement in our XSL generic by setting it as
tag in the XML file.

until now we do not take sort variable out of the XML file.

we just declare the sort variable as a xsl:variable srtord and then try to
use it in the sort select.

code________________________________

<xsl:variable name="srtord" select="'NAAM'">
</xsl:variable> 

<xsl:for-each select="vestigingen/vestiging"> 
<xsl:sort select="$srtord" order="ascending"/> 

eof code________________________________________


It doesn't work, sort select doesn't take the variable srtord.

Hope you can help us

Melle


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.