asp读取xml有如下语句:
set Node=root.selectSingleNode("/eSummary/Document[@uid='111111']") 此句可以正常运行,
修改如下:
dim idnum=111111
set Node=root.selectSingleNode("/eSummary/Document[@uid='idnum']") 运行错误
希望引入变量可以读取指定节点内容
不知道该如何修改?
...全文
2072打赏收藏
xpath 使用变量问题
asp读取xml有如下语句: set Node=root.selectSingleNode("/eSummary/Document[@uid='111111']") 此句可以正常运行, 修改如下: dim idnum=111111 set Node=root.selectSingleNode("/eSummary/Document[@uid='idnum']") 运行错误 希望引入变量可以读取指定节点内容 不知道该如何修改?