oValue = ORBEON.xforms.Document.getValue("foo");
                    ORBEON.xforms.Document.setValue("foo", Number(fooValue) + 1);
                </xxf:script>
            </xf:trigger>
        </xh:p>
    </xh:body>
</xh:html>
