Groups | Blog | Home
all groups > dotnet xml > november 2004 >

dotnet xml : XML on the fly


greg_gm NO[at]SPAM poczta.fm
11/3/2004 12:34:18 AM
Hi,

I've a problem.
I have to read a xml file from url (ex.
http://www.remote_server.blelele/search?qt=request&nm=10&st=0&reg=14)
and convert it. I think(probably;)) that this xml is generate
on-the-fly. Of course, I can read this xml, if I write this address in
browser.
It works good if I've got this file on my test server, but if I use
file from remote server it doesn't work.

In order to ilustrate this problem, I paste same code:

It works fine:
XmlDocument XMLtest = new XmlDocument();
XMLtest.Load("http://www.my_server.blelele/search.xml");

wrong:
XmlDocument XMLtest = new XmlDocument();
Oleg Tkachenko [MVP]
11/3/2004 12:50:40 PM
[quoted text, click to view]

What exactly doesn't work? Any exceptions?
If you have no access to that server, you know, there is no magic way to
get XML from it.

--
Oleg Tkachenko [XML MVP]
sandeep b
11/8/2004 2:41:20 PM
May be you can try , using HTTP objects to get the response from the URL and
retrieve the XML out of it
[quoted text, click to view]

AddThis Social Bookmark Button