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

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

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Mon, 4 Dec 2006 17:38:49 -0800
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF40285760F@usa7061ms01.na.xerox.net>
To: "Kisub Song" <kssong@icl.yonsei.ac.kr>, <www-forms@w3.org>

If you absoultely must do it today, you can ask your server to do it
with <xf:submission action="/cgi-bin/swap?A=/R/A;B=/R/B" method="post"
replace="instance" instance="model" /> and a suitable server script
called swap.

If you need to be able to specify the elements to swap in a more general
way, you'll need to enclose your entire instance inside another piece of
XML which contains the names (paths?) of the elements to swap, and
submit that whole instance; or perhaps you can put attributes on R.

-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On
Behalf Of Kisub Song
Sent: Wednesday, November 29, 2006 6:34 PM
To: www-forms@w3.org
Subject: Questions about switching orders of instance's elements.


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

For example,
I want to change this instance...
<xforms:instance id="model">
into this form...
<xforms:instance id="model">
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
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 Tuesday, 5 December 2006 01:39:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:55 UTC