Thursday, 15 July 2010

c# - Trouble with hexadecimap chars in XML data -



c# - Trouble with hexadecimap chars in XML data -

i trying create xml document using linq.

xelement element = new xelement("manufacturername", suppliername); xdocument doc = new xdocument(element); doc.save("sample.xml");

the suppliername has special char @ end hexadecimal value 0x1f. not allow save document.

for instance value others may different. there way remove / special chars?

thanks in advance.

c# xml

No comments:

Post a Comment