以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XML源码及示例(仅原创和转载) 』 (http://bbs.xml.org.cn/list.asp?boardid=32) ---- 利用xml(xmldom,xmlhttp)进行客户机与服务器的数据交互遇到的问题?? (http://bbs.xml.org.cn/dispbbs.asp?boardid=32&rootid=&id=7057) |
-- 作者:wedge -- 发布时间:4/27/2004 2:01:00 PM -- 利用xml(xmldom,xmlhttp)进行客户机与服务器的数据交互遇到的问题?? 利用xmlhttp发送一个book. xml文档给服务器端的gettitle.asp文件,在服务器端对接受来的xml文档利用DOM转换成另一个形式的xml文档,返回给客户端。利用onreadystatechange检查服务器的状态,成功解析后执行showelement函数。 但没有显出预期的效果,请高手指点一下。 book.xml ********************** <?xml version="1.0" encoding="GB2312"?> <booklist> <book sales="Y"> <code>F8915</code> <title>ASP网页制作彻底研究</title> <authorlist> <author>陈会安</author> <author>sun</author> </authorlist> <price>580</price> </book> <book sales="Y"> <code>F8916</code> <title>ASP与IIS 4/5网站架设彻底研究</title> <authorlist> <author>wedge</author> <author>sun</author> </authorlist> <price>550</price> </book> <book sales="N"> <code>F8917</code> <title>ASP精讲案例教程</title> <authorlist> <author>wedge</author> <author>sun</author> </authorlist> <price>590</price> </book> <book sales="N"> <code>F8918</code> <title> 家常小菜</title> <authorlist> <author>sally</author> <author>sun</author> </authorlist> <price>120</price> </book> </booklist> *************************** <body> |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
125.000ms |