D
David Cox
<root >
<employee id="111">Douglas</employee>
<wife n="1">Kitty</wife>
<kid no="1">Polo</kid>
<kid no="2">Paolo</kid>
<wife num="2">Peck</wife>
<kid no="1">Poke</kid>
<employee id="000">Jitto</employee>
<wife n="1">Kitten</wife>
<kid no="1">Po</kid>
</root>
I'd like to sort them outputing into 2 ways, sort by id, sort by name
of the emploee and in each sort, the subchilds also get sorted by
number and by name.
How can i do this ?
<employee id="111">Douglas</employee>
<wife n="1">Kitty</wife>
<kid no="1">Polo</kid>
<kid no="2">Paolo</kid>
<wife num="2">Peck</wife>
<kid no="1">Poke</kid>
<employee id="000">Jitto</employee>
<wife n="1">Kitten</wife>
<kid no="1">Po</kid>
</root>
I'd like to sort them outputing into 2 ways, sort by id, sort by name
of the emploee and in each sort, the subchilds also get sorted by
number and by name.
How can i do this ?