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

RE: XSLT conditional sorting problem

Subject: RE: XSLT conditional sorting problem
From: "thei" <thei@xxxxxxxxx>
Date: Tue, 11 Nov 2003 20:33:10 +1000
xsl conditional sort
Thanks for the help, that has helped immensely.

Unfortunately, I'm still having a little problem.

| -----Original Message-----
| From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
| list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jeni Tennison

| I don't know how you want to combine this two-level grouping with the
| special handling of albums by "Various Artists" -- whether you want
| the album to be listed under the artist or you want a special "Various
| Artists" category -- but hopefully you should be able to work out how
| to do it. If you need more help, let us know.

Ideally, I'd like various artists' albums to be sorted like this:

Artist1
	Album1
		Songs
		...
	Album2
		Songs
		...
Various Artists - Album1
	Songs
	...
Artist2
	Album
		Songs
		...
Various Artists - Album2
	Songs
	...
Etc.

To sort various artists by album only - excluding various artist albums from
the normal sorting, but still sorting normal songs by artist then album. The
problem I come across is that I can't work out how to do both at once. I can
(thanks to Jeni's help) sort songs by artist and then album, but I don't see
any way to apply a "various artists" sort once they're already sorted by
artist. Alternatively I can sort by album only, but then I lose the ability
to sort by artist first. I hope that made some sense?


Printed on 100% recycled electrons.
http://nedmartin.org/


 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.