le>Using the getValue and setValue from JavaScript</xh:title>
        <xf:model>
            <xf:instance id="instance">
                <instance>
                    <foo/>
                    <bar/>
                </instance>
            </xf:instance>
            <xf:bind ref="/instance/bar" calculate="/instance/foo"/>
            <xxf:script ev:event="xforms-ready">
                ORBEON.xforms.Document.setValue("foo", 42);
            </xxf:script>
        </xf:model>
    </xh:head>
    <xh:body>
  