<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed May 22, 2013 3:01 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed May 22, 2013 3:01 pm</pubDate>
  <lastBuildDate>Wed May 22, 2013 3:01 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108683#108683</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=130'&gt;Ram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 3:43 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I'd guess the file was save in MS Word 2003 has an xml not odf in the first instance.&lt;br /&gt;
&lt;br /&gt;
Have a read of this blog, it explains how too turn it into a normal xml file.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/b/brian_jones/archive/2005/07/07/436647.aspx&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://blogs.msdn.com/b/brian_jones/archive/2005/07/07/436647.aspx&lt;/a&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108683#108683</comments>
                                        <author>Ram</author>
                                        <pubDate>Wed Nov 14, 2012 3:43 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108683#108683</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108681#108681</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=154'&gt;mikejd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 1:21 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks, nelz.&lt;br /&gt;
&lt;br /&gt;
At least I now have the full text to save retyping. i guess it will have to remain a question how it got like it. Let's just blame it on Ooo on Windows not saving correctly and thank Linux for being able to retrieve the situation.&lt;br /&gt;
&lt;br /&gt;
cheers.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108681#108681</comments>
                                        <author>mikejd</author>
                                        <pubDate>Wed Nov 14, 2012 1:21 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108681#108681</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108680#108680</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 1:13 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I get the same if a save a document as Microsoft Word 2003 XML  from LibreOffice 3.6.3.2, it's not an ODF file. However, LO can also open the file here. My guess is that something screwed up when saving the file.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108680#108680</comments>
                                        <author>nelz</author>
                                        <pubDate>Wed Nov 14, 2012 1:13 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108680#108680</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108679#108679</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=154'&gt;mikejd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 1:06 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      They are able to open it but it cannot be read as it is in XML. Following is first 10 lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;yes&amp;quot;?&amp;gt;&amp;lt;?mso-application progid=&amp;quot;Word.Document&amp;quot;?&amp;gt;&amp;lt;w:wordDocument xmlns:aml=&amp;quot;http://schemas.microsoft.com/aml/2001/core&amp;quot; xmlns:number=&amp;quot;urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0&amp;quot; xmlns:dt=&amp;quot;uuid:C2F41010-65B3-11d1-A29F-00AA00C14882&amp;quot; xmlns:v=&amp;quot;urn:schemas-microsoft-com:vml&amp;quot; xmlns:fo=&amp;quot;urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0&amp;quot; xmlns:w10=&amp;quot;urn:schemas-microsoft-com:office:word&amp;quot; xmlns:w=&amp;quot;http://schemas.microsoft.com/office/word/2003/wordml&amp;quot; xmlns:wx=&amp;quot;http://schemas.microsoft.com/office/word/2003/auxHint&amp;quot; xmlns:o=&amp;quot;urn:schemas-microsoft-com:office:office&amp;quot; xml:space=&amp;quot;preserve&amp;quot; w:embeddedObjPresent=&amp;quot;no&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don't know which version they use, I am using LibreOfficev3.5.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108679#108679</comments>
                                        <author>mikejd</author>
                                        <pubDate>Wed Nov 14, 2012 1:06 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108679#108679</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108678#108678</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 1:01 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Can the person who sent it to you open it? Are they using the same version of OOo?</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108678#108678</comments>
                                        <author>nelz</author>
                                        <pubDate>Wed Nov 14, 2012 1:01 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108678#108678</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108677#108677</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=154'&gt;mikejd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 12:57 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      The file is a report written in OpenOffice. Not my file so I don't know what happened to it. I have been asked if I can help sort it out.&lt;br /&gt;
&lt;br /&gt;
file command outputs 'OpenDocument text'&lt;br /&gt;
&lt;br /&gt;
File is confidential so can't post up.&lt;br /&gt;
&lt;br /&gt;
Since last post I have managed to extract the text content by a roundabout route - select all content, copy and paste into  Quanta, select view which displays the text, copy the text and paste into a new doc in LibreOffice, save as .doc file. The text is completely unformatted so will need paragraphs, line breaks, etc added but at least the text is not lost and won't need to be retyped (report is 16 pages long).&lt;br /&gt;
&lt;br /&gt;
So, have solved the problem for now but I still would be interested to know why it can't be opened properly in OpenOffice.&lt;br /&gt;
&lt;br /&gt;
Thanks for all help.&lt;br /&gt;
&lt;br /&gt;
regards,&lt;br /&gt;
Mike</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108677#108677</comments>
                                        <author>mikejd</author>
                                        <pubDate>Wed Nov 14, 2012 12:57 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108677#108677</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108673#108673</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 9:52 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      What should the file contain?&lt;br /&gt;
&lt;br /&gt;
What is the output from &amp;quot;file filename.odt&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
Are the contents of the file private or it is it possible to post it somewhere so we can try it?</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108673#108673</comments>
                                        <author>nelz</author>
                                        <pubDate>Wed Nov 14, 2012 9:52 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108673#108673</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108672#108672</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=154'&gt;mikejd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Nov 14, 2012 9:38 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks for the replies.&lt;br /&gt;
&lt;br /&gt;
The file is a .odt format. I can open the document in LibreOffice but all I read is the xml data, the content is not readily readable. I have tried saving in different formats, eg .doc and .sxw, as suggested by various Google links but no change.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108672#108672</comments>
                                        <author>mikejd</author>
                                        <pubDate>Wed Nov 14, 2012 9:38 am</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108672#108672</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108669#108669</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Nov 13, 2012 10:12 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Most ODF formats are a zipped archive containing XML files. The flat formats, like .fodt, are plain XML but these don't seem to be used that often. file will tell you hat the file actually is, rather than what the extension is claiming it to be.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108669#108669</comments>
                                        <author>nelz</author>
                                        <pubDate>Tue Nov 13, 2012 10:12 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108669#108669</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108668#108668</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=63'&gt;guy&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Nov 13, 2012 9:09 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      What app are you trying to open it in? &lt;br /&gt;
&lt;br /&gt;
ODF files are XML based, so opening the raw file in a text editor would show just what you are seeing.&lt;br /&gt;
&lt;br /&gt;
If that's the problem, you need an ODF compatible app such as LibreOffice, OpenOffice or Abiword - see &lt;a href=&quot;http://en.wikipedia.org/wiki/OpenDocument&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://en.wikipedia.org/wiki/OpenDocument&lt;/a&gt; for a good list.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108668#108668</comments>
                                        <author>guy</author>
                                        <pubDate>Tue Nov 13, 2012 9:09 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108668#108668</guid>
                                      </item>
                                      <item>
                                        <title>Re: Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108667#108667</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Nov 13, 2012 8:52 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      What does the file command say it is?&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;file yourfile.odf&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108667#108667</comments>
                                        <author>nelz</author>
                                        <pubDate>Tue Nov 13, 2012 8:52 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108667#108667</guid>
                                      </item>
                                      <item>
                                        <title>Reading xml file</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=108666#108666</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=154'&gt;mikejd&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Nov 13, 2012 8:13 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I have been sent a document saved in OpenOffice as an ODF file. When I open it it contains xml data and is not readily readable. I have tried to save as .sxw and .doc files but it is still the same. How do I convert this to a legible document?&lt;br /&gt;
&lt;br /&gt;
any help appreciated.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=108666#108666</comments>
                                        <author>mikejd</author>
                                        <pubDate>Tue Nov 13, 2012 8:13 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=108666#108666</guid>
                                      </item></channel></rss>