--- abi/src/wp/impexp/xp/ie_exp_AbiWord_1.cpp.orig Thu Jan 20 00:55:57 2000 +++ abi/src/wp/impexp/xp/ie_exp_AbiWord_1.cpp Thu Jan 20 01:09:18 2000 @@ -348,10 +348,21 @@ m_bInSpan = UT_FALSE; m_apiLastSpan = 0; + // TODO add a file-format name/value pair to this tag. + + m_pie->write("write(" version=\""); + if (XAP_App::s_szBuild_Version && XAP_App::s_szBuild_Version[0]) + { + m_pie->write(XAP_App::s_szBuild_Version); + } + m_pie->write("\""); + m_pie->write(">\n"); + // NOTE we output the following preamble in XML comments. // NOTE this information is for human viewing only. // TODO should this preamble have a DTD reference in it ?? - + m_pie->write("\n"); m_pie->write("\n"); m_pie->write("\n"); @@ -425,16 +436,6 @@ // end of preamble. // now we begin the actual document. - // TODO add a file-format name/value pair to this tag. - - m_pie->write("write(" version=\""); - if (XAP_App::s_szBuild_Version && XAP_App::s_szBuild_Version[0]) - { - m_pie->write(XAP_App::s_szBuild_Version); - } - m_pie->write("\""); - m_pie->write(">\n"); _handleStyles(); }