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

implementors question: correct behavior of nested nodeset in repeat

From: Joern Turner <joern.turner@web.de>
Date: Tue, 27 Feb 2007 17:01:42 +0100
Message-ID: <45E455E6.3080001@web.de>
To: www-forms@w3.org

seeking help understanding the following use case:

for an instance like this:
xforms:instance id="Test" >
<data xmlns="">
  <level id="1">
   <item>Item 1-1</item>
   <item>Item 1-2</item>
   <item>Item 1-3</item>
  <level id="2">
   <item>Item 2-1</item>
   <item>Item 2-2</item>
   <item>Item 2-3</item>

and a repeat like this:
  <xforms:repeat id="repeat1" nodeset="/data/level/item">
   <xforms:input ref=".">

what would be the correct behavior? Should the repeat show 3 or 6 items 
and what would happen in case of an insert?

I couldn't find a clear answer to this from the Spec - help anyone?

Received on Tuesday, 27 February 2007 16:02:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:55 UTC