Subject: [xsl] sort / unsort From: "McKeever, Marty" <marty.mckeever@xxxxxxxxxxxxxxxxx> Date: Thu, 08 Aug 2002 15:44:22 -0400 |
Interesting problem, i've been wracking my brain to solve. >From a group of nodes, output the first five in a sorted order, and dump the remainder in document order. that is: <foo>I</foo> <foo>F</foo> <foo>E</foo> <foo>D</foo> <foo>A</foo> <foo>C</foo> <foo>B</foo> <foo>H</foo> <foo>G</foo> would output: <foo>A</foo> <foo>B</foo> <foo>C</foo> <foo>D</foo> <foo>E</foo> <foo>I</foo> <foo>F</foo> <foo>H</foo> <foo>G</foo> note that only the first 5 are sorted. the remainder are in document order - less the 5 sorted items. TIA, Marty XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] rearranging and colouring, horst | Thread | Re: [xsl] sort / unsort, Mike Berrow |
RE: [xsl] Repost: How to make names, Wes Kubo | Date | [xsl] stripping leading and trailin, Aparna Konduri |
Month |