如何在Visual Studio 2012 for Windows 8 wpf中将docx转换为xml?我可以在OPEN XML的帮助下转换它吗?那怎么样? [英] how to Convert docx to xml in visual studio 2012 for windows 8 wpf? can i convert it with the help of OPEN XML ? then How ?

查看:79
本文介绍了如何在Visual Studio 2012 for Windows 8 wpf中将docx转换为xml?我可以在OPEN XML的帮助下转换它吗?那怎么样?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hello 

 

我认为在使用OPEN XML的帮助下将.docx转换为c#中的xml但我不知道转换它的锄头...可能是我错误,所以建议我正确
...
 

 

Gaurang R。

解决方案

嗨Gaurang,


谢谢你在MSDN论坛上发帖。


我建议你更清楚地说明你的目标。这里的" xml "是什么意思?据我所知,Word有一种名为"Word xml文档"或"Word 2003 xml文档"的xml文件格式。你" xml "
意味着?根据我的经验,检索信息并将记录器写入自定义的xml格式文档是某些程序的常用方法。所以我不确定你在这种情况下的目标。


无论是使用Visual Studio 2012还是Windows 8以及您的项目是否为wpf应用程序,.NET Web应用程序,控制台应用程序,Windows窗体应用程序,使用C#,VB.NET都不会阻止您实现目标您已在目标计算机上安装了Open Xml
SDK。


祝您有个美好的一天,


T OM


hello 
 
i think convert .docx to xml in c# with th help of OPEN XML but i don't know hoe to convert it ...may be i am wrong so suggest me right ... 
 
Gaurang R.

解决方案

Hi Gaurang,

Thanks for posting in the MSDN Forum.

I would recommend you clarify your goal more clearly. What mean of "xml" here? As far as I know that Word have a kind of xml file format named "Word xml document" or "Word 2003 xml document". Do you "xml" means that? An it’s based on my experience that retrieve the information and write recorder to a customized xml format document is a usual way for some program. So I’m not sure about your goal in this case.

And whether use Visual Studio 2012 & Windows 8 and whether your project is a wpf application, .NET Web application, Console application, Windows form application, use C#, VB.NET will not prevent you to approach your goal if you have installed Open Xml SDK on your target machine.

Have a good day,

Tom


这篇关于如何在Visual Studio 2012 for Windows 8 wpf中将docx转换为xml?我可以在OPEN XML的帮助下转换它吗?那怎么样?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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