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

Re: Questions about switching orders of instance's elements.

From: John Boyer <boyerj@ca.ibm.com>
Date: Sat, 2 Dec 2006 09:36:47 -0800
To: "Kisub Song" <kssong@icl.yonsei.ac.kr>
Cc: www-forms@w3.org, www-forms-request@w3.org
Message-ID: <OFF384A0BD.F5FA5576-ON88257238.0060A9B5-88257238.0060C142@ca.ibm.com>
In XForms 1.1 you can do this.  Not in XForms 1.0.

Best regards,
John M. Boyer, Ph.D.
STSM: Workplace Forms Architect and Researcher
Co-Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com  http://www.ibm.com/software/

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer





"Kisub Song" <kssong@icl.yonsei.ac.kr> 
Sent by: www-forms-request@w3.org
11/29/2006 06:34 PM

To
<www-forms@w3.org>
cc

Subject
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?

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 17:37:08 GMT

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