W3C home > Mailing lists > Public > www-forms@w3.org > May 2005

RE: Using multiple instances in a single bind expression.

From: Borgrink, Susan <sborgrink@progeny.net>
Date: Wed, 18 May 2005 18:34:48 -0400
Message-ID: <DA6BC906FC6C3F42AE513470E74DB1ED30B235@es3.progeny.net>
To: "Gary Stewart" <gary@deltagreen.co.uk>, <www-forms@w3.org>


	Try this: 

	Though, it doesn't seem that you are calculating anything.  What
are you trying to do?

Susan Borgrink
FormFaces Developer

-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On
Behalf Of Gary Stewart
Sent: Wednesday, May 18, 2005 5:59 PM
To: www-forms@w3.org
Subject: Using multiple instances in a single bind expression.

Hi there,

I got a bit stuck on this and I was wondering if anyone has seen any 
examples or knows how to get around it.

Say I've got a form with the actually instance data on, that I'm 
planning on submitting, and some additional data to be displayed as 
output which is effectively just lookup data.

In this case I have:

  <xforms:instance id="list">
   <full_code xmlns="">
  <xforms:instance src="codes.xml" id="codes" />
  <!--The bit that I'm having problems with :(-->



Expect the bind to be wrong, it certainly didn't work. The problem is 
that "//category" comes from the "list" model and the data shown is from

the "codes" model. Of course I could add the data from the "codes" 
instance but I'd prefer not to do that as it is a bit untidy, especially

during submit where I would want to remove all that data again.

Thanks for any suggestions,

Received on Wednesday, 18 May 2005 22:39:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:15 UTC