Forum Discussion
M_McDonald
16 years agoSuper Contributor
I don't know what the full response looks like but I think the following will sort the fragment you've shown (assuming it is valid xml:)
[tt:2qpappg4]
{
for $x in //party
order by $x/partyIdentifier/string()
return $x
}
[/tt:2qpappg4]
gets you
[tt:2qpappg4]
2211260886918334
PERSON
4131260886927904
ORG
5261260886931759
PERSON
[/tt:2qpappg4]
Does that help?
[tt:2qpappg4]
{
for $x in //party
order by $x/partyIdentifier/string()
return $x
}
gets you
[tt:2qpappg4]
Does that help?