- From: David Landwehr <david.landwehr@solidapp.com>
- Date: Fri, 19 May 2006 07:03:44 +0200
- To: jeacott@hardlight.com.au
- Cc: www-forms <www-forms@w3.org>
Hi Jason, You could do it like: <xforms:repeat nodeset="row"> <xforms:group ref="self::node()[@type='apples']"> <xforms:select ref="self::node()"><xforms:label/></xforms:select> </xforms:group> <xforms:group ref="self::node()[@type='pears']"> <xforms:output ref="self::node()"/> </xforms:group> <!-- oranges will not have a control bound --> </xforms:repeat> This works since the group's relevance will be toggled (only in the UI) based on the predicate (e.g. if @type isn't apples then the first group will not be bound and hence irrelevant and not displayed to the user). Out of interest what did your solution look like? Best regards, David Jason wrote: > > re my hiding issue. > I figured it out. thanks anyway. > but I couldn't do it without adding a new entity in my instance. > > if anyone knows how I could have done it without the model change > please let me know. > > regards. > Jason. > -- -------------------------------------------- David Landwehr (david.landwehr@solidapp.com) Chief Executive Officer, SolidApp Web: http://www.solidapp.com Office: +45 48268212 Mobile: +45 24275518 --------------------------------------------
Received on Friday, 19 May 2006 05:03:54 UTC