W3C home > Mailing lists > Public > www-forms@w3.org > September 2001

RE: Evaluation Context of <bind> Computed Expression

From: Mikko Honkala <honkkis@tml.hut.fi>
Date: Fri, 14 Sep 2001 12:38:43 +0300
To: "Tomayko, Ryan" <Ryan_Tomayko@stercomm.com>, <www-forms@w3.org>
Message-ID: <NEBBLFNPALLNPJFJCOIEMEABCCAA.honkkis@tml.hut.fi>
Hi Tomayko,

I am not sure, whether this answers your questions at all, but I think the
first
bind should be written as:

<xform:bind id="qty"
     ref="po/lineItems/lineItem/qty"
     relevant="../total > 1000"/>

, since relevant will be applied to every node in nodeset 'ref' with that
node as the context node.

Therefore, I do not see why form controls that refer to instance items with
computed expressions, could not be used within 'repeat'.

- Mikko Honkala - http://www.x-smiles.org/
Received on Friday, 14 September 2001 05:35:47 GMT

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