开发者

Problem With \ When Converting object to XML

开发者 https://www.devze.com 2023-01-18 06:27 出处:网络
I have a problem when I开发者_如何学运维 convert an object to XML. The result is like <Entry From=\\\"08:46:07\\\" To=\\\"20:47:06\\\" TypeId=\\\"1\\\" />

I have a problem when I开发者_如何学运维 convert an object to XML. The result is like

<Entry From=\"08:46:07\" To=\"20:47:06\" TypeId=\"1\" />

and I want to remove the \ in the XML. How can I do this?


Are those slashes actually there?

This is what you would see in the debugger when looking at a string with quotes but without \.

0

精彩评论

暂无评论...
验证码 换一张
取 消