Jump to content

Where is the problem ?


andreathedove
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...