
September 28th, 2001, 07:30 PM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
ASP.net and XML - URGENT PLESE HELP !!!
Originally posted by : Kev (kevinjohngallagher@hotmail.com)Hi,I have an ASP.net file that outputs XML to the browser.I want to call the XML from this file from another file in XmlTextReader .Yet when I do I catch an exception.I need to output this XML file as it talks to other platforms, ASP, Flash and Wap.I am trying : dim objXmlReader as XMLTextReader try objXmlReader = new XmlTextReader(Server.MapPath("xml_file.aspx")) While objXmlReader.Read() Response.Write(objXmlReader.Name & " = " & objXmlReader.Value & " ") end While catch ex as Exception Response.Write(" Error accessing XML file") finally objXmlReader.Close end tryfeel free to e-mail me aswell
|