- From: Subramanian Peruvemba \(PV\) <subramanian.peruvemba@oracle.com>
- Date: Fri, 27 Sep 2002 14:51:22 -0700
- To: <www-forms@w3.org>
- Message-ID: <001801c26670$05032e20$61ae1990@speruvemus>
Looking at the bookmark example <xforms:model id="bookmarks"> <xforms:instance src="bookmarks.xml" /> <xforms:submission id="s01" method="post" action="http://examples.com/" /> </xforms:model> ... <xforms:repeat nodeset="bookmark" id="repeatBookmarks"> <xforms:input ref="@name"> <xforms:label>Bookmark name</xforms:label> </xforms:input> <xforms:input ref="@href"> <xforms:label>URL</xforms:label> </xforms:input> </xforms:repeat> The input control uses a "ref" attribute. If I alter the example to use the "bind" attribute (instead of ref) <xforms:repeat nodeset="bookmark" id="repeatBookmarks"> <xforms:input bind="b1"> <xforms:label>Bookmark name</xforms:label> </xforms:input> <xforms:input bind="b2"> <xforms:label>URL</xforms:label> </xforms:input> </xforms:repeat> What decides the context of my <bind> decl. (Does the <repeat> actually sets the context of <bind> in the model???) <xforms:model id="bookmarks"> <xforms:instance src="bookmarks.xml" /> <xforms:submission id="s01" method="post" action="http://examples.com/" /> <xforms:bind id="b1" ref="@name" ../> <xforms:bind id="b2" ref="@href" ../> </xforms:model> Regards,
Received on Friday, 27 September 2002 17:52:31 UTC