RE: [xsl] Generic sort using multiple columns

Subject: RE: [xsl] Generic sort using multiple columns
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 27 Oct 2003 17:56:04 -0000
> Thanks for the suggestion Michael.
> 
> By generating a stylesheet for the chosen sort order I am 
> assuming you 
> mean generating it on the fly?

That's right.
> 
> I'm not sure how to accomplish this.

Well, a stylesheet is an XML document, so you can generate it in the
same way as any other.
> 
> FYI - I will be running all transformations on the server 
> side with Xalan.
> 
Then you may have to think a bit more carefully about performance. For
example, you may want to reuse the stylesheets if the same sort orders
are requested repeatedly.

Michael Kay


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


Current Thread