Strange Characters In XML

J

Jim Douglas

/r/n in XML. I can see it while debuggin. Also when you extract XML from
dataset the extracted XML has a ns: ELEMENT with odd characters within in,
it looks like it trying to escape the doublequotes

<Stuff ns:\"http:www.whatDeHeck.com"\><OtherStuff></OtherStuff><Stuff>

I know I am doing something wrong but can't find out what the heck it is!

Thanks!


--

Jim Douglas
http:\\www.genesis-software.com

Latitude 32.5818
Longitude -96.5412
Elevation 497
 
J

Jon Skeet [C# MVP]

Jim Douglas said:
/r/n in XML. I can see it while debuggin. Also when you extract XML from
dataset the extracted XML has a ns: ELEMENT with odd characters within in,
it looks like it trying to escape the doublequotes

<Stuff ns:\"http:www.whatDeHeck.com"\><OtherStuff></OtherStuff><Stuff>

I know I am doing something wrong but can't find out what the heck it is!

You're not doing anything wrong. The string itself doesn't have those
characters in - it's just the debugger showing the escape so that you
can tell what's what. Unfortunately it seems to confuse as many people
as it helps :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top