I am wondering if it is possible to create a JavaScript function that
will re-order child nodes in an Xml Document. Currently I am binding
an Xml Data Island to an HTML table and implemented drag-and-drop
functionality.
Let's say I have the following:
Sequence 1
- 1
- 2
- 3
Sequence 2
- 4
- 5
- 6
The user re-orders so that:
Sequence 1
- 3
- 4
- 1
Sequence 2
- 5
- 6
- 2
Is it possible to sort each sequence's nodes from lowest to highest? I
have read about doing this with XSLT but figured I'd see if there was
an easier way.
Thanks in advance,
- will