您好,欢迎访问一九零五行业门户网

HTML中的XML数据岛记录编辑与添加代码实例详细介绍

html中的xml数据岛记录编辑与添加
<html> <head><title>html中的数据岛中的记录集</title></head> <body bkcolor=#eeeeee text=blue bgcolor="#00ffff"> <table align=center width="100%"><tr><td align="center"> <h5><b><font size="4" color="#ff0000">html中的xml数据岛记录编辑与添加</font></b></h5> </td></tr></table> <hr> 酒店名称:<input type=text datasrc=#thexmlisland datafld=name size="76"><br> 地址:<input type=text datasrc=#thexmlisland datafld=address size="76"><br> 主页:<input type=text datasrc=#thexmlisland datafld=homepage size="76"><br> 电子邮件:<input type=text datasrc=#thexmlisland datafld=e-mail size="76"><br> 电话:<input type=text datasrc=#thexmlisland datafld=telephone size="76"><br> 级别:<input type=text datasrc=#thexmlisland datafld=grade size="76"><hr> <input id="first" type=button value="<< 第一条记录" onclick="thexmlisland.recordset.movefirst()"> <input id="prev" type=button value="<上一条记录" onclick="thexmlisland.recordset.moveprevious()"> <input id="next" type=button value="下一条记录>" onclick="thexmlisland.recordset.movenext()"> <input id="last" type=button value="最后一条记录>>" onclick="thexmlisland.recordset.movelast()">&nbsp; <input id="add" type=button value="添加新记录" onclick="thexmlisland.recordset.addnew()"> <xml id="thexmlisland"> <hotellist> <hotel> <name>四海大酒店</name> <address>海魂路1号</address> <homepage>www.sihaohotel.com.cn</homepage> <e-mail>master@sihaohotel.com.cn</e-mail> <telephone>(0989)8888888</telephone> <grade>五星级</grade> </hotel> <hotel> <name>五湖宾馆</name> <address>东平路99号</address> <homepage>www.wuhu.com.cn</homepage> <e-mail>web@wuhu.com.cn</e-mail> <telephone>(0979)1111666</telephone> <grade>四星级</grade> </hotel> <hotel> <name>“大沙漠”宾馆</name> <address>留香路168号</address> <homepage>www.dashamohotel.com.cn</homepage> <e-mail>master@dashamohotel.com.cn</e-mail> <telephone>(0989)87878788</telephone> <grade>五星级</grade> </hotel> <hotel> <name>“画眉鸟”大酒店</name> <address>血海飘香路2号</address> <homepage>www.throstlehotel.com.cn</homepage> <e-mail>chuliuxiang@throstlehotel.com.cn</e-mail> <telephone>(099)9886666</telephone> <grade>五星级</grade> </hotel> </hotellist> </xml> </body> </html>
以上就是html中的xml数据岛记录编辑与添加详细介绍的内容。
其它类似信息

推荐信息