andreathedove Posted June 13, 2008 Share Posted June 13, 2008 Hello,I have this XML file:http://www.allinonenet.it/shopping/fino/FINO-clickpoint.xmlWith this code asp it dont work <% Dim objXmlDom Set objXmlDom = Server.CreateObject("Microsoft.XMLDOM") objXmlDom.async = False objXmlDom.load Server.MapPath("Fino-clickpoint.xml") Dim price Set price = objXmlDom.getElementsByTagName("catalogo/articolo/prezzo") l = 0 For l = 0 To price.length - 1 %><%=price(l).Text%><% Next Set price = Nothing Set objXmlDom = Nothing%> thi is the result:http://www.allinonenet.it/shopping/fino/Why?Thanks,Andrea Link to comment Share on other sites More sharing options...
jesh Posted June 13, 2008 Share Posted June 13, 2008 When I attempt to view your XML file, Firefox tells me: XML Parsing Error: xml declaration not at start of external entityLocation: http://www.allinonenet.it/shopping/fino/FINO-clickpoint.xmlLine Number 2, Column 1:<?xml version="1.0" encoding="ISO-8859-1"?>Maybe that's why it isn't working. Link to comment Share on other sites More sharing options...
andreathedove Posted June 13, 2008 Author Share Posted June 13, 2008 When I attempt to view your XML file, Firefox tells me:Maybe that's why it isn't working.I dont hope in this :-( Link to comment Share on other sites More sharing options...
Synook Posted June 15, 2008 Share Posted June 15, 2008 Err I think Jesh means fix the errors in the XML file and try again. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.