W3C home > Mailing lists > Public > www-forms@w3.org > February 2004

A note on <bind /> (similar to <group />)

From: Klotz, Leigh <Leigh.Klotz@pahv.xerox.com>
Date: Wed, 4 Feb 2004 14:41:03 -0800
Message-ID: <51B8ABCE456FD111899900805F6FD6EE15EDF5A2@mercury.ADOC.xerox.com>
To: "'www-forms@w3c.org'" <www-forms@w3c.org>

Just as <group /> can be used as a container, so can <bind />.

I believe that <bind /> is legal and useful, just like <group />, and want
to make sure that implementations aren't tripped up on the base case.

The containership of bind is useful, as XML Include [1] requires a container
element: the inclusion is an InfoSet, not a document fragment.

 <model xmlns="http://www.w3.org/2002/xforms">
   <instance src="foo-instance.xml" />
   <xi:include href="foo-bindings.xml" />

File foo-bindings.xml:
<?xml version="1.0" ?>
<bind xmlns="http://www.w3.org/2002/xforms">
 <bind nodeset="foo" relevant="true()" />
 <bind nodeset="bar" relevant="false()" />

Does anybody disagree with <bind />, or find another problem with this
mechamism for using XInclude?


[1] XML Inclusions (XInclude) Version 1.0
Received on Wednesday, 4 February 2004 17:37:46 UTC

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