                    <xf:input ref=".">
                        <xf:label/>
                    </xf:input>
                </xh:div>
            </xf:repeat>
            <xf:trigger>
                <xf:label>Add apple</xf:label>
                <xf:insert ref="apple[position() gt 1]" at="index('apple3')" position="after" ev:event="DOMActivate"/>
            </xf:trigger>
        </xh:div>
        <xh:div>
            <xh:p>Pears:</xh:p>
            <xf:repeat ref="pear" id="pear">
                <xh:div>
