W3C home > Mailing lists > Public > www-forms@w3.org > December 2006

Questions about switching orders of instance's elements.

From: Kisub Song <kssong@icl.yonsei.ac.kr>
Date: Thu, 30 Nov 2006 11:34:17 +0900
To: <www-forms@w3.org>
Message-ID: <000101c71428$086c9690$7b7a84a5@ICLkisub>

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?

Plz tell me 

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 Saturday, 2 December 2006 01:50:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:08 GMT