By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,686 Members | 1,603 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,686 IT Pros & Developers. It's quick & easy.

Illegal characters in path-in XML files using StreamReader

P: 1
Hi All...

i one of my application, i am using an xml file as request & respone in web services..

so they have to be serialized & deserialized accordingly..

so in case of deserialize.. i am loading the xml file into streamreader variable but at runtime it shows that it contains nothing in it.

so plz help me out..

CODE:

Dim Rxml As New System.Xml.XmlDocument
Rxml.Load("d:\Response.xml")
** string_reader = New System.IO.StreamReader(Rxml.OuterXml.ToString)

* denotes : shows that it contains nothing...
Dec 31 '07 #1
Share this Question
Share on Google+
1 Reply


jkmyoung
Expert 100+
P: 2,057
Use slashes / instead of backslashes \
("d:/Response.xml")
Jan 3 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.