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

To what extent can sorting be done?

Subject: To what extent can sorting be done?
From: "Kevin Duffey" <kevin.duffey@xxxxxxxx>
Date: Sat, 17 Feb 2001 23:03:31 -0800
can sorting
Hi there,

I have read very little about this so I apologize if it is a stupid
question. If I do a server-side query and get say 100 rows back, each row
having 10 columns. Normally, to sort by a column (assuming the rows were
displayed on a web page) I would click on that column, go to the server, do
some java code the reorders the list based on the selected column, then
redisplays the rows, based on the sorted column. So the question is, do I
have to write code for each column I want sorted, or does XSL allow this
itself? I haven't touched on sorting yet in XSL, but someone told me that
supposedly I can get XSL to take the same XML input and sort it by various
columns (assuming lets say a 2D table of rows/columns). Would I need a
different XSL for each column, or can I just use  some <xsl:choose..> tags
to sort the data in a particular column and still use the one XSL. Any
examples (that don't require lots of your time) would be great either in
XSL, or how it is possible.

In the meantime, I will be reading up in my XSL book from Mr. Kay.

Thanks.


 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.