当前位置: 首页 > 网络学院 > XML相关教程 > XForms > XForms 介绍

XForms
XForms 介绍
XForms 模型
XForms 命名空间
XForms 实例
XForms XPath
XForms 输入控件
XForms 选择控件
XForms 数据类型
XForms 属性
XForms 行为(Actions)
XForms 函数
Xforms 数据类型参考

XForms 介绍


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 591 ::
收藏到网摘: n/a

XForms is the next generation of HTML forms.
XForms 是下一代的 HTML 表单。

XForms uses XML to create input forms on the Web.
XForms 使用 XML 来创建 web 上的输入表单。


What You Should Already Know
你应当具备的知识

Before you continue you should have a basic understanding of the following:
在继续学习之前,您需要对下面的知识有基本的了解:

  • HTML
  • HTML Forms
  • XHTML
  • XML

If you want to study these subjects first, find the tutorials on our Home Page.
如果您希望首先学习这些项目,请在 首页 访问这些教程。


What Is XForms?
什么是XForms?

  • XForms is the next generation of HTML forms
    ?? XForms 是下一代的 HTML 表单
  • XForms is richer and more flexible than HTML forms
    ?? XForms 与 HTML 表单相比更完善,更灵活
  • XForms will be the forms standard in XHTML 2.0
    ?? XForms 将在 XHTML 2.0 种成为表单标准
  • XForms is platform and device independent
    ?? XForms 独立于平台和设备
  • XForms separates data and logic from presentation
    ?? XForms 可从表现分离数据和逻辑
  • XForms uses XML to define form data
    ?? XForms 使用 XML 来定义表单数据
  • XForms stores and transports data in XML documents
    ?? XForms 可存储和传输 XML 文档中的数据
  • XForms contains features like calculations and validations of forms
    ?? XForms 含有诸如计算以及表单验证等特性
  • XForms reduces or eliminates the need for scripting
    ?? XForms 可减少或根除对脚本的需求
  • XForms is a W3C Recommendation
    ?? XForms 是 W3C 标准

XForms Is The Successors Of HTML Forms
XForms是HTML表单的继任者

Forms are an important part of many web applications today. An HTML form makes it possible for web applications to accept input from a user.??
在今天,表单是许多 web 应用程序的重要组成部分。HTML 表单使 web 应用程序从用户那里接收数据成为可能。

Today, ten years after HTML forms became a part of the HTML standard, web users do complex transactions that are starting to exceed the limitations of standard HTML forms.
今天,在 HTML 表单成为 HTML 标准的组成部分的十年后,网络用户所进行的复杂事务正在超越标准的 HTML 表单的能力极限。

XForms provides a richer, more secure, and device independent way of handling web input. We should expect future web solutions to demand the use of XForms-enabled browsers (All future browsers should support XForms).
XForms 提供了一种更完善、更安全并独立于设备的方法来处理网络输入。我们应当期待未来的网络解决方案要求使用支持 XForms 的浏览器(所有未来的浏览器均应支持 XForms)。


XForms Separate Data From Presentation
XForms可以从表达式中分离出数据和逻辑

XForms uses XML for data definition and HTML or XHTML for data display. XForms separates the data logic of a form from its presentation. This way the XForms data can be defined independent of how the end-user will interact with the application.
XForms 使用 XML 来进行数据定义,而 HTML 或 XHTML 用于数据显示。XForms 可把表单的数据逻辑与其表现分离。XForms 数据的定义方式独立于最终用户与应用程序相交互的方式。


XForms Uses XML To Define Form Data
XForms使用XML定义定义数据

With XForms, the rules for describing and validating data are expressed in XML.
通过 XForms,可使用 XML 来表达描述和验证数据的规则。


XForms Uses XML To Store And Transport Data
XForms使用XML储存和传输数据。

With XForms, the data displayed in a form are stored in an XML document, and the data submitted from the form, are transported over the internet using XML.
通过 XForms,显示在表单中的数据可存储在 XML 文档中,并且从表单提交的数据使用 XML 在因特网上传输。

The data content is coded in, and transported as Unicode bytes.
数据以 Unicode 进行编码和传输。


XForms Is Device Independent
XForms独立于设备

Separating data from presentation makes XForms device independent, because the data model can be used for all devices. The presentation can be customized for different user interfaces, like mobile phones, handheld devices, and Braille readers for the blind.
把数据与表现分离使得 XForms 独立于设备,因为数据模型可被用于所有的设备。表现可为不同的用户界面定制,比如移动电话、手持设备以及针对盲人的盲文阅读器。

Since XForms is device independent and based on XML, it is also possible to add XForms elements directly into other XML applications like VoiceXML (speaking web data), WML (Wireless Markup Language), and SVG (Scalable Vector Graphics).
由于 XForms 独立于设备并基于 XML,这也使得向其他 XML 应用程序中添加 XForms 元素成为可能,比如 VoiceXML (speaking web data)、WML (无线标记语言), 以及 SVG (可伸缩矢量图形)。


XForms Is A W3C Recommendation
XForms是W3C标准

XForms 1.0 became a W3C Recommendation in October 2003.
XForms 在2003年10月成为 W3C 标准。

The official W3C recommendation can be found at this link:
可通过此链接找到官方的 W3C 推荐标准:

http://www.w3.org/TR/xforms/

评论 (0) All

登陆 | 还没注册?