|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Sorting elements through XSL
David CODISH wrote:
> Is there a way to sort XML items by one of there attributs?
Using which collating sequence?
> Say I have the following XML
>
> <DTITLE>
> <Name type="1">America Online</Name>
> <Duration>59</Duration>
> <Modif>1998-2-2 19:34:19</Modif>
> </DTITLE>
> <DTITLE>
> <Name type="1">Athlete's Foot</Name>
> <Duration>58</Duration>
> <Modif>1998-2-2 19:34:28</Modif>
> </DTITLE>
> ...
>
> and I want to sort the list once by name type, once by duration etc.
And once by modif, perhaps - which should be simple given the particular
representation that you have adopted. But consider this
<DTITLE>
<Name type="l">some kanji characters go here</Name>
<Duration>59</Duration>
<Modif>1998-2-2 19:34:19</Modif>
</DTITLE>
--
Chris
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








