XForms Concepts

In this section, I will introduce you to the concepts that underlie XForms and allow data to be separated from its presentation.

XForms divides the underlying form data and its presentation into separate layers. For example, XForms has an xforms:input form control that accepts data. It is similar to an HTML/ XHTML input element. However, the presentation of the xforms:input form control is not fixed—its presentation is determined by the user interface of individual platforms. It can be presented on a desktop browser with an appearance similar or identical to that of the HTML input element. However, on a mobile browser, it might be presented in a simpler fashion—perhaps just a label, a colon, and a flashing cursor at the position ...

Get Special Edition Using XML, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.