如何用ASP读取 XML - Web 开发 / ASP
<?xml version="1.0"?>
<root>
<status>433</status>
<msg>这个是汉字</msg>
<serialno>123</serialno>
</root>
如何用ASP读取 status值 msg值 serialno值
LZ要学会用搜索引擎
http://topic.csdn.net/u/20090626/19/67DD3047-1F86-4291-B8EF-62D6782D52F1.html
用MSXML!给你小示例:
VBScript code:
strPath=Server.MapPath("/template/infotag.xml")
Set parser=Server.CreateObject("Microsoft.XMLDOM")
parser.Load(strPath)
If parser.parseError.errorCode<>0 then
Response.Write "load error..."
End If
Set itemList=parser.selectNodes("//item[@parent='0']")
Dim floatCursor:floatCursor=35
Dim maxindex:maxindex=itemList.length
Response.Write "<div class='item'>"
For I=0 to maxindex-1
Dim strTitle,strID
strTitle=itemList.item(i).firstChild.nodeValue
strID=itemList.item(i).getAttribute("id")
Set childNodes=parser.selectNodes("//item[@parent='"&strID&"']")
If childNodes.length-1>floa
相关问答:
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
就是类似以上的在线测试系统,需要有一个后台的,语言是asp的,数据库是access的,还需要能在后台对信息进行添删改查的。谢谢各位了。。。
程序真的很多,不知 ......
我想打印数据库里面读取出来的多条数据内容,实现批量打印
先导入excel或者word,然后在打印
或者购买web打印控件
使用acitvex打印。如果不需要选择属性,设置属性,就不需要商业的了。
<style media= ......
在asp里怎么调用java写的webservice方法,有很多方法
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
A页面
<table width="200" border="1">
<tr>
<td>1</td>
<td>3</td>
<td><!--#include/top.html#-- ......