Skip to content Skip to sidebar Skip to footer

Xforms:input Doesn't Show In Browser

I'm trying to use xForms:input, but them don't show in Browser. Here is my xhtml code:

Solution 1:

As others have pointed out, current web browsers do not support XForms natively. You will need some XForms implementation to make your forms work. There are in general two kinds of implementations for XForms embedded in XHTML:

  • Browser-side implementations.

    A prominent example here is XSLTForms, developed by Alain Couthures of AgenceXML. Very simple installation and use: you install the library on your Web server and refer to the XSLTForms stylesheet from your form. The stylesheet uses the XSLT engine in the user's web browser to build an HTML + Javascript version of the form.

    The old X-Smiles free-standing browser and the Mozilla plugin for XForms were further examples of this class, but as far as I know neither is now maintained.

  • Server-side implementations.

    Prominent examples include Orbeon and BetterForms. When a request for an XForm comes in, code on the server generates an HTML page with embedded Ajax calls. Some things are executed in the web browser and others on the server (not visible to you as XForms author). In server code the implementors have more of a free hand than in Javascript to be run on the client, so I have the impression that adding new features is easier for these implementations. Both Orbeon and BetterForms have impressive documentation.

Both BetterForms and XSLTForms come as part of the eXist XML database package. So some installation issues can be avoided that way. And the last time I looked, eXist came packaged with Orbeon.

The list of active implementations on the W3C XForms wiki has pointers to these and other implementations.

Solution 2:

Nowadays Xforms is not supported by browsers, thats why you can't see anything of your form. Maybe you could try to use Orbeon. Orbeon Forms is a solution to build and deploy web forms. You must deploy it in your server to use Xforms.

Post a Comment for "Xforms:input Doesn't Show In Browser"