String Escape Sequences

I have a code segment that creates XML nodes and returns all the XML as a string. It works fine on the code segment end, but when I receive this string from the calling function, escape sequences are added before all double-quotes.

For example:
<node1 att1="val1" />

<node1 att1=\"val1\" />

Any idea how I can skip that escaping?

Who is Participating?
Are you sure those escape sequences are really there? If you're looking at the values in the debugger, the string that's displayed in there is formatted the way you would format it in code in order to have a literal with the same value, so escape sequences like that are added where appropriate. I doubt the slashes are actually in your string, because a slash isn't even meaningful in XML as an escape sequence. Try printing out the string instead of looking at it in the debugger to verify this.
srinivas_vemlaAuthor Commented:
Yes Ceiled,

I was looking at it in the debugger and now when i move it to a text box it looks good...

Thanks for the reply
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.