如何将Xml转换为word文档文件DocumentFormat [英] How to convert Xml to word Document file DocumentFormat

查看:267
本文介绍了如何将Xml转换为word文档文件DocumentFormat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将Xml转换为word文档文件

我使用DocumentFormat.OpenXml.Packaging将word文件转换为Xml

; Dll



但知道将Xml转换成单词

How to convert Xml to word Document file
I have convert word file to Xml
using using DocumentFormat.OpenXml.Packaging; Dll

but know to to convert Xml to word

<w:document xmlns:ve="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml">
  <w:body>
    <w:p w:rsidR="00CC3BE8" w:rsidRDefault="009712BD">
      <w:pPr>
        <w:spacing w:before="100" w:beforeAutospacing="1" w:after="100" w:afterAutospacing="1" />
        <w:rPr>
          <w:b />
          <w:u w:val="single" />
        </w:rPr>
      </w:pPr>
      <w:r>
        <w:rPr>
          <w:b />
        </w:rPr>
        <w:t 

推荐答案

平到opc得到solotn



http://blogs.msdn.com/b/ericwhite/archive/2008/09/29/transforming-open -xml-documents-to-flat-opc-format.aspx [ ^ ]



HTTP://博客。 msdn.com/b/ericw hite / archive / 2008/09/29 / transformationing-flat-opc-format-to-open-xml-documents.aspx [ ^ ]
Flat to opc got solotn

http://blogs.msdn.com/b/ericwhite/archive/2008/09/29/transforming-open-xml-documents-to-flat-opc-format.aspx[^]

http://blogs.msdn.com/b/ericwhite/archive/2008/09/29/transforming-flat-opc-format-to-open-xml-documents.aspx[^]


这篇关于如何将Xml转换为word文档文件DocumentFormat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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