- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Fri, 06 Apr 2018 14:30:09 +0200
- To: " XForms" <public-xformsusers@w3.org>
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_repeat_Element says: a repeat like <repeat ref="/products/product"> <output ref="."/><html:br/> </repeat> is conceptually similar to <group ref="/products/product[1]"><output ref="."/><html:br/></group> <group ref="/products/product[2]"><output ref="."/><html:br/></group> <group ref="/products/product[3]"><output ref="."/><html:br/></group> <group ref="/products/product[4]"><output ref="."/><html:br/></group> What I realise is that we need agreement on what @class applies to when used on a repeat. If I say <repeat class="thing" ref="item"> <output ref="."/> </repeat> does this mean <group class="thing"> <group ref="item[1]"><output ref="."/></group> <group ref="item[2]"><output ref="."/></group> <group ref="item[3]"><output ref="."/></group> </group> or <group> <group class="thing" ref="item[1]"><output ref="."/></group> <group class="thing" ref="item[2]"><output ref="."/></group> <group class="thing" ref="item[3]"><output ref="."/></group> </group> ? My feeling is for the former, but I'd like to hear your opinion. Steven
Received on Friday, 6 April 2018 12:30:38 UTC