1.

Solve : Unreadable extracted files?

Answer»

I can never read extracted files. I know how to extract them but they then APPEAR in a list of files that are full of html code not text like in Word. They all have XML extensions. How can I read just the text rather than the code.
I know there is a simple way to read extracted files but I can't fathom it.
Thank you"Extracted files" (from a compressed archive, presumably) can be any type of file, not just html. You can read html files in a web browser. Other types of file may need their own program. Give us something to work with. Names or descriptions of files, where did you get them etc.

Quote from: corystar1 on July 10, 2010, 04:06:00 AM

I can never read extracted files. I know how to extract them but they then appear in a list of files that are full of html code not text like in Word. They all have XML extensions. How can I read just the text rather than the code.
I know there is a simple way to read extracted files but I can't fathom it.
Thank you

Sounds like you are extracting a OOXML format document (office 2007+,OpenOffice) (xlsx, docx).

Don't. open it as docx or xlsx as you should be doing.More Information:
I've extracted the folder which now appears in three file folders - _rels, docProps, word and (another file on its own) [Content Types].
Now I just want to read the main file so I click on the word folder, because that has the BIGGEST file in it 39kb: Content document. This is an XML doxument. My question is not so much why this and all the other files in the unzipped folder is XML, but why can't I read it like I'm reading a WEBSITE or Word Document.
Thank you Quote from: corystar1 on July 10, 2010, 06:48:17 PM
More Information:
I've extracted the folder which now appears in three file folders - _rels, docProps, word and (another file on its own) [Content Types].
You didn't extract a folder. you extracted a Docx word document. a docx word document is simply a zip file. perhaps it got renamed incorrectly.

Quote
Now I just want to read the main file so I click on the word folder
 because that has the biggest file in it 39kb: Content document. This is an XML doxument.

If you want to read the document, rename the "compressed folder" (ZIP file) to docx and open it in word.

Quote
My question is not so much why this and all the other files in the unzipped folder is XML, but why can't I read it like I'm reading a website or Word Document.
Because it's XML. the XML in and various files that are packaged in the archive that is a docx include data on styles, embedded fonts, pasted linked objects, text, and so forth. Your question amounts to the same thing as asking why you can't read a binary .doc file in notepad like you do in word. Word knows how to translate the markup in the xml files so that it appears as a word document with proper formatting. If you read just the markup itself, you don't get any such translation.(SOLVED) i was getting same problem so i reinstalled the microsoft office and now my files are working....


Discussion

No Comment Found