<xf:repeat ref="fruit" id="fruit">
            <xh:div>
                <xf:select1 ref="selected-type" id="type-of-fruit" appearance="xxf:tree">
                    <xf:label>Type: </xf:label>
                    <xf:itemset ref="../type">
                        <xf:label ref="."/>
                        <xf:value ref="."/>
                    </xf:itemset>
                </xf:select1>
            </xh:div>
        </xf:repeat>
        <xf:trigger>
            <xf:label>Add fruit</xf:label>
            