PDA

View Full Version : asp & xml


esthera
10-16-2005, 06:28 PM
i'm trying to debug some xml code...

xmlDoc.load(Server.MapPath("/xml/fr.xml"))

if xmlDoc.documentElement is Nothing then

response.write "here"

end if


the file is defiantlye there and the if documentElement is nothing is coming through.--does that mean that the script somehow can't find the xml.
why would this be when it is clearly there??

glenngv
10-17-2005, 10:19 AM
response.write the xml path to verify if it is correct.
response.write "xml path:" & Server.MapPath("/xml/fr.xml")