Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

XForms Tutorial
Xforms Introduction
Binding the XForm Components
XForms Properties
Form Controls
Submitting Data to Xforms
XForms Summary

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


Introduction to XForms

Previous Next



What are 'XForms'?

If you have browse the Web at all, you probably use the forms more often than you realize. Nearly all the on-line interaction (as opposed to the static text delivery) takes place through some kind of the form. To enhance the use of the forms on Web, World Wide Web Consortium (W3C) sponsored the development of an XForms.

Instead of further altering the existing forms language that is the part of an HTML, the W3C membership agreed that the new approach was necessary. Several years later, this has become XForms 1.0, an official Recommendation of W3C.

Like an XHTML, SVG, and RSS, XForms is also an XML-based language written with the tags that can be identified by surrounding the angle brackets. ( the XML purists perfer to call these elements) Learning the XForms is largely a matter of understanding what an individual elements do, as well as how do they interrelate. One difference is that the XForms provides a several more elements than the form authors might be accustomed to. As a result, several tasks that would have otherwise required the complicated scripting can be accomplished declaratively, just by putting a right elements in the place.


Why the "Lazy Authoring" is good

XForms was been designed with a classic XHTML author in mind, so it includes the simplified approach that is easy to write about and as powerful as classic the HTML forms without a script. This is called unofficially, as "lazy authoring" as an tribute to a geek ethic of beneficially avoiding the unnecessary work.

Structurally, the form can be throught of having two parts: a specification of what it must do, and a specification of how it must look. In the XForms these two parts are called, respectively, as the XForms Model and the XForms User Interface. With a lazy authoring, the XForms Model is little more than the boilerplate:

<model>
<submission action="http://example.info/" method="get" id="s"/>
</model>

The action attribute contains a URL to which the form must be submitted, and the id attribute provides the unique name that we can do refer later. In the XHTML, this section of a code usually would appear in the head section of a document. The user interface do have more flexibility in how it can be written, as shown in the next section


The Form Controls

Individual user interface elements in the XForms are called the form controls, each of which are represented by the element. Two most commonly used elements are the input and submit.

In a lazy authoring, form controls can be included anywhere in main body of a document with a attribute ref that holds a name of the form control:

<input ref="query">
<label>Search:d
</label>
</input>
<submit submission="s">
<label>Go!
</label>
</submit>

Notice that each of the form control element has required the label child element, and that an submit element references the id of the submission element that has been defined earlier.




Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords: introduction to xml, xforms example, introduction to jsp, xforms examples, introduction to j2ee, introduction to ejb, introduction to java, introduction to html, introduction to css, introduction to javascript, introduction to soap, introduction to struts


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.