This article has been written for the Mozilla implementation of XForms
which is a pure client implementation.
When you use OrbeonForms, the architecture is pretty different and the
XForms document not being sent to the browser, the browser DOM has no
direct access to XForms elements (such as its model).