|
sorting elements
|
[
Lists Home |
Date Index |
Thread Index
]
- To: xml-dev@lists.xml.org
- Subject: sorting elements
- From: Esteban Pizzini <esteban.pizzini@gmail.com>
- Date: Wed, 1 Feb 2006 10:57:00 -0300
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=aUGHh9bXup6zzjxw+70w/wvXOFILmx6snNEwli9uGh5RqtGOTc+0LsdsNbwvjnBnQr4slwTkTfBAxKxGTMFU2//TmxOrV0OeD8fUddo1v7YV3hOtiqXkAz6nbbPdccx3J1feg5qVL67pSXY8+HdGpw+grJYPXErbIU8Yi3XpLKA=
Hi people,
I have to sort some elements that have the following content:
<art>1.1</art>
<art>1</art>
<art>2</art>
<art>2.1.1</art>
<art>2.1</art>
and the order should be 1 - 1.1 - 2 - 2.1 - 2.1.1
What method should I use? because the value that I've to use for sorting has a hierarchical meaning..
Any idea?
Thanks!!
Esteban
|
|
|
|
|