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

Questions about switching orders of instance's elements.

From: Kisub Song <kssong@icl.yonsei.ac.kr>
Date: Thu, 30 Nov 2006 11:51:09 +0900
To: <www-forms-editor@w3.org>
Message-ID: <000c01c7142a$637bd3f0$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?

------------------------------------------------------------------------
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:15 GMT