Subject: RE: [xsl] Multi-level Sort From: "Kurt Madel" <kmadel@xxxxxxxxxxxxxxxxxxx> Date: Mon, 7 Feb 2005 12:55:04 -0500 |
I was hoping someone might be able to help me with a sort problem. I would like to sort on a presorted node in the same stylesheet. I would like to sort this (NOTE: brands may overlap): <document> <brands> <brand>Brand F</brand> <brand>Brand E</brand> </brands> </document> <document> <brands> <brand>Brand B</brand> <brand>Brand A</brand> </brands> </document> <document> <brands> <brand>Brand C</brand> <brand>Brand D</brand> </brands> </document> <document> <brands> <brand>Brand C</brand> <brand>Brand A</brand> </brands> </document> Into this: <document> <brands> <brand>Brand A</brand> <brand>Brand B</brand> </brands> </document> <document> <brands> <brand>Brand A</brand> <brand>Brand C</brand> </brands> </document> <document> <brands> <brand>Brand C</brand> <brand>Brand D</brand> </brands> </document> <document> <brands> <brand>Brand E</brand> <brand>Brand F</brand> </brands> </document> Any ideas would be greatly appreciated.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Multi-level Sort, David Carlisle | Thread | Re: [xsl] Multi-level Sort, David Carlisle |
Re: [xsl] xsl:when, xsl:otherwise q, Nick Roberts | Date | Re: [xsl] XSLT use cases; data-cent, Kenneth Stephen |
Month |