Skip to main content


developerWorks  >  XML  >

XForms

Define Web forms for creating and updating XML documents

developerWorks

Level: Intermediate

Contributors: W3C

06 Feb 2007
Updated 21 Feb 2008

XForms, a specification of Web forms for XML data processing, allows you to separate a form's purpose from its look. Find out how XML technologies make it easy to create Web applications with user input.

In October 2007, the third edition of XForms 1.0 became a W3C Recommendation. XForms is a specification of Web forms for XML data processing that you can use with a wide variety of platforms through a variety of media. XForms looks to separate a form's purpose from its presentation. It separates considerations of what the form does from how the form looks. It is an XML vocabulary that you can use to develop form UIs for manipulating XML content. XForms started out as part of the XHTML family, but has taken on a life of its own.

In November 2007, XForms 1.1 became a W3C Candidate Recommendation. XForms 1.1 refines the XML processing platform introduced by XForms 1.0. It adds several new submission capabilities for SOA and Web 2.0 enablement. It also improves the data-focused scripting language built into XForms, including conditional, iterated, and background execution, the ability to manipulate data arbitrarily, and to access event context information. Finally, it includes a host of refinements to action handlers, utility functions, user interface controls, and datatype validation.

An XForms implementation has to respond to user-directed events relating to an XML document (for example, the element that might be selected when a user chooses from radio buttons). In order to describe and manage such events, XForms uses XML Events [W3C Recommendation].


Resources


Back to top


Document options

Document options requiring JavaScript are not displayed