如何将此 XML abiword 文档恢复为可读可编辑的 .doc(或其他格式)?

How can I restore this XML abiword document to a readible editable .doc (or otherwise)?

我最近开始在 ubuntu 桌面上使用 Abiword。 Libreoffice 导致我的一个文字处理文档崩溃。我从来没有遇到过 Microsoft Word 的这个问题,但我主要使用 ubuntu。所以我决定改用 abiword。我一直通过 abiword 以 .doc 格式保存我的文字处理文档。然而,最近当我打开文件时,所有这些 XML 代码都被吐出来了。首先我用microsoft word打开它。然后我想也许这就是问题所在,所以我在 ubuntu 中切换到 abiword。它工作......大约一天。现在我所有的工作都在 XML 代码中。

文档以 XML 开头,如下所示:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN" "http://www.abisource.com/awml.dtd">
<abiword template="false" xmlns:ct="http://www.abisource.com/changetracking.dtd" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:math="http://www.w3.org/1998/Math/MathML" xid-max="46" xmlns:dc="http://purl.org/dc/elements/1.1/" fileformat="1.1" xmlns:svg="http://www.w3.org/2000/svg" xmlns:awml="http://www.abisource.com/awml.dtd" xmlns="http://www.abisource.com/awml.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" version="3.0.0" xml:space="preserve" props="dom-dir:ltr; document-footnote-restart-section:0; document-endnote-type:numeric; document-endnote-place-enddoc:1; document-endnote-initial:1; lang:en-US; document-endnote-restart-section:0; document-footnote-restart-page:0; document-footnote-type:numeric; document-footnote-initial:1; document-endnote-place-endsection:0">
<!-- ======================================================================== -->
<!-- This file is an AbiWord document. -->
<!-- AbiWord is a free, Open Source word processor. -->
<!-- More information about AbiWord is available at http://www.abisource.com/ -->
<!-- You should not edit this file by hand. -->
<!-- 

======================================================================== -->

如何将其恢复为普通文档?

此外,为什么会发生这种情况,我该如何预防?我正在考虑只在 Windows 中使用 word 或使用 Google 文档(尽管云文字处理让我变得偏执,因为 1)隐私 2)如果互联网中断,我会失去工作)

很简单。将整个文档的文本复制到一个带有 .doc 的空白文件中。在 Abiword 中重新打开。有用。它最后销毁了少量数据。我不知道这些数据去了哪里。我猜 RTF 格式可能更稳定。