如何在ASP.NET中将word(.docx)转换为XML? [英] How to convert word (.docx) to XML in ASP.NET ?

查看:117
本文介绍了如何在ASP.NET中将word(.docx)转换为XML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have word file and I want  to convert in xml format Docx file .
Plz tell How's it possible .





我尝试过:





What I have tried:

<pre>I have word file and I want  to convert in xml format Docx file .
Plz tell How's it possible .



将Word(.docx)转换为XML。


Convert Word (.docx) to XML .

推荐答案

首先,如前所述,.DOCX文件已经是一个.ZIP文件,其中包含一堆.XML文件。只需将文件重命名为.ZIP并打开生成的文件夹即可查看。



其次,为什么?除非您准确描述要格式化为XML的内容,否则操作本身没有任何意义。
First, as already described, a .DOCX file is already a .ZIP file with a bunch of .XML files in it. Just rename the file to .ZIP and open the resulting folder to see it.

Second, why? The operation itself doesn't make any sense unless you describe exactly what you want to format as XML.


您可以使用
Aspose.Words for .NET is an advanced Word document processing API that enables you to perform a wide range of document processing tasks directly within your .NET applications.

请检查此链接 Office在C#中使用C#示例将Doc转换为XML for Visual Studio 2010 [ ^ ]


这篇关于如何在ASP.NET中将word(.docx)转换为XML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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