- From: Klotz, Leigh <Leigh.Klotz@pahv.xerox.com>
- Date: Wed, 4 Feb 2004 14:41:03 -0800
- 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. Example: <model xmlns="http://www.w3.org/2002/xforms"> <instance src="foo-instance.xml" /> <xi:include href="foo-bindings.xml" /> </model> 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()" /> </bind> Does anybody disagree with <bind />, or find another problem with this mechamism for using XInclude? Leigh. ----- [1] XML Inclusions (XInclude) Version 1.0 http://www.w3.org/TR/xinclude/
Received on Wednesday, 4 February 2004 17:37:46 UTC