日期:2014-05-20  浏览次数:21184 次

Word2003另存为XML格式后,换行符(段落标记符)是什么标签?急!急!急!
我要将html文本输出成word,但是发现原来换行格式都没有了,不知道Word的Xml格式是怎么标记“回车符”的?

------解决方案--------------------
\r\n回车加换行
------解决方案--------------------
XML code

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"><w:ignoreElements w:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/>
  <w:body>
    <wx:sect>
      <w:p wsp:rsidR="00A80AA8" wsp:rsidRDefault="00A80AA8">
        <w:pPr>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t>AAAAAAAAAAAAAA</w:t>
        </w:r>
      </w:p>
      <w:p wsp:rsidR="00A80AA8" wsp:rsidRDefault="00A80AA8">
        <w:pPr>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
        </w:pPr>
        <w:r>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
          <w:t>BBBBBBBBBBBBB</w:t>
        </w:r>
      </w:p>
      <w:p wsp:rsidR="00A80AA8" wsp:rsidRDefault="00A80AA8">
        <w:pPr>
          <w:rPr>
            <w:rFonts w:hint="fareast"/>
          </w:rPr>
        </w:pPr>
      </w:p>
      <w:sectPr wsp:rsidR="00A80AA8">
        <w:pgSz w:w="11906" w:h="16838"/>
        <w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="851" w:footer="992" w:gutter="0"/>
        <w:cols w:space="425"/><w:docGrid w:type="lines" w:line-pitch="312"/>
      </w:sectPr>
    </wx:sect>
  </w:body>
</w:wordDocument>