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

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

XForms 实例


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

Test It With Internet Explorer
用IE浏览器检验:

You can test the example on this page using Internet Explorer 5 or later.
你可以用IE5或更高版本的浏览器验证这个页面上的案例。

Just click on the link below the example.
只须点击案例下面的链接就可以了。


An XForms Example
XForms案例

Take a look at this document using XForms:
请看下面这份使用了XForms的文档:

<xforms>

<model>
<instance>
<person>
<fname/>
<lname/>
</person>

</instance>
<submission id="form1" method="get"
action="submit.asp"/>
</model>

<input ref="fname">
<label>First Name</label></input><br />

<input ref="lname">
<label>Last Name</label></input><br /><br />

<submit submission="form1">
<label>Submit</label></submit>
</xforms>

The page will display pretty much like this:
这页大致会展示成这样:

First Name
Last Name
?? ??
??

Try the example on your own computer
在你自己计算机上试着使用这个案例

评论 (0) All

登陆 | 还没注册?