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

Using multiple instances in a single bind expression.

From: Gary Stewart <gary@deltagreen.co.uk>
Date: Wed, 18 May 2005 22:59:17 +0100
Message-ID: <428BBAB5.8010101@deltagreen.co.uk>
To: www-forms@w3.org

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:18:08 UTC

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