|
Subject: Re: Sorting elements through XSL From: Chris Lilley <chris@xxxxxx> Date: Tue, 26 May 1998 14:58:41 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Sorting elements through XSL, David CODISH | Thread | Delivering application with XSL Act, Benoît BARRE |
| RE: Delivering application with XSL, Benoît BARRE | Date | RE: XML Transformation Language (wa, Rob McDougall |
| Month |