XmlException:这是十六进制的 [英] XmlException : that is hexadecimal exceptiom

查看:111
本文介绍了XmlException:这是十六进制的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

exception isSystem.Xml.XmlException: 'here is one special character like |', hexadecimal value 0x19, is an invalid character at line 1.



我使用此查询根据链接标记删除所有重复记录,链接标记是唯一的。




I am using this query to delete the all duplicate records based on link tag, link tag is unique.

doc.Root.Elements("item")
               .GroupBy(s => (string)s.Element("Link"))
               .SelectMany(g => g.Skip(1))
               .Remove();





有没有可能删除hexadecimalvalus和re与其他文本一起放置。



是否有可能删除整个记录。



请帮助我....



谢谢....



Is there any possible to remove hexadecimalvalus and replace with some other text.
and
Is there any possible to remove entire record also.

Please Help me....

Thank you....

推荐答案

这篇关于XmlException:这是十六进制的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆