Jump to content

Where is the problem ?


andreathedove

Recommended Posts

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

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

Err I think Jesh means fix the errors in the XML file and try again.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...