habro un archivo xml con el siguiente codigo
urlxml= "
http://www.dominio/datos.xml"
sScript = Request.ServerVariables("SCRIPT_NAME")
Dim xmldoc,nodeList,node,i,j ,xmlHttp,RSSXML
Set xmlHttp= Server.CreateObject("Microsoft.XMLHTTP")
xmlHttp.Open "Get", UrlXML, false
xmlHttp.Send()
Set xmldoc = Server.CreateObject("Microsoft.XMLDOM")
xmldoc.async = false
xmldoc.loadXML ( xmlHttp.ResponseXML.xml )
if xmldoc.parseError.errorCode=0 Then
para unos servidores los archivos xml los hable bien
otros de otro servidor no los habre, me sale error. pero los habro con el
explorador y los reconoce como bien formados
noto que si ejecuto el siguiente
codigo
Set xmlHttp= Server.CreateObject("Msxml2.XMLHTTP")
Set xmlHttp= Server.CreateObject("Msxml2.XMLHTTP")
xmlHttp.Open "get", UrlXML, false
xmlHttp.Send()
Response.Write " " & xmlhttp.ResponseXML.xml & " " & xmlhttp.responsetext
el el servidor que funcuiona en las dos variables me imprimen lo
mismo(xmlhttp.ResponseXML.xml , xmlhttp.responsetext),
y en el servidor que no me funciona me imprime solo la
segunda(xmlhttp.responsetext)
Leer las respuestas