           <xf:action ev:event="xforms-value-changed xforms-enabled">
                                    <xf:action if="$binding castable as xs:date">
                                        <xf:setvalue ref="instance('date-instance')/year" value="year-from-date($binding)"></xf:setvalue>
                                        <xf:setvalue ref="instance('date-instance')/month" value="month-from-date($binding)"></xf:setvalue>
                                        <xf:setvalue ref="instance('date-instance'