读取XML文件,删除不需要的标记并替换为简单标记 [英] Read XML file,Remove unwanted tags and replace with simple tags

查看:121
本文介绍了读取XML文件,删除不需要的标记并替换为简单标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一个c#代码来读取xml文件。我拥有的Xml文件包含所有不需要的标签,如wd space

I want a c# code to read an xml file. Xml files i have has all unwanted tags like wd space

ln l="5122" t="1450" r="8726" b="1661" underlined="none" subsuperscript="none" fontSize="1000" fontFace="Times New Roman" fontFamily="roman" fontPitch="variable" spacing="5" scale="1000">



我希望删除所有这些并用onw按钮点击的Bold,Italics,Underlined,Heading,Paragaraphs的简单标签替换。



请帮忙。

请帮我完整的代码。


I want all these to be removed and replace with simple tags for Bold, Italics, Underlined,Heading, Paragaraphs in onw button click.

Please Help.
please help me with the complete code.

推荐答案

这篇关于读取XML文件,删除不需要的标记并替换为简单标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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