Questions about switching orders of instance's elements.

Hi~

I have a question about XForms.
Are there any ways to change the order of the structure of XML instances in
XForms code?

For example,
I want to change this instance...
<xforms:instance id="model">
  <R>
    <A>...</A>
    <B>...</B>
    <C>...</C>
  </R>
</xforms:instance>
into this form...
<xforms:instance id="model">
  <R>
    <B>...</B>
    <A>...</A>
    <C>...</C>
  </R>
</xforms:instance>
when the user presses a button or does some other action.
...
As you see, the order of elements are changed, locations of A and B are
swapped.
How should the XForms code be made to work like it?

------------------------------------------------------------------------
Kisub Song
The Master's Course in Computer Science
Internet Computing Laboratory at Yonsei University
C503 Engineering Building, 134 Shinchon-Dong Seodaemoon-Gu Seoul 120-749
South Korea
Tel: +82-2-2123-3878

Received on Thursday, 30 November 2006 02:51:19 UTC