为什么我生成的XML的 <Head> 总是<Head xmlns=""> 怎么能不让它带xmlns="&a
Dim xmldoc Set xmldoc = Server.CreateObject("Microsoft.XMLDOM")
If (xmldoc.childNodes.length = 0) Then
Set root = xmldoc.createNode("element", "Manifest", "urn:Declaration:datamodel:standard:CN:MT3101:1"" xmlns:xsi=""http://www.)
xmldoc.appendChild (root)
Set node1 = xmldoc.createNode("element", "Head","")
root.appendChild (node1)
.....
生成后的XML文件:应该为
<Manifest xmlns="urn:Declaration:datamodel:standard:CN:MT3101:1" xmlns:xsi="http://www.
<Head>
而现在总是
<Manifest xmlns="urn:Declaration:datamodel:standard:CN:MT3101:1" xmlns:xsi="http://www.
<Head xmlns="">
多了:xmlns=""
怎么能去掉: xmlns=""
[ 本帖最后由 jiadi 于 2010-8-10 14:07 编辑 ]