How to open and view the XML structure of an Excel file?

微笑、不失礼 提交于 2019-12-11 16:26:57

问题


I want to open the path xl\worksheets\sheet1.xml of an Excel file.

When I Google how to do this, an article asks me to rename the Excel file to .zip, and then unzip the file and check out the structure.

But even after I zip and unzip the Excel file, I don't find any such XML files in the extracted files. I find the .xlsx file alone.

Update: Based on the answers provided, I have renamed the Excel file to .zip, without actually zipping it. Then I have downloaded 7-zip software, which provides an option to open the .zip file when right-clicked. I can now see the XML structure of the Excel file in 7-zip.


回答1:


You just have to rename the file from .xlsx to .zip (without zipping it).

Then, you can unzip with any unzipper like 7zip or WinRar on Windows, and Unarchiver on Mac OS.




回答2:


Based on the answers and comments provided, I have renamed the Excel file to .zip, without actually zipping it.

Then I have downloaded 7-zip software, which provides an option to open the .zip file when right-clicked. I can now see the XML structure of the Excel file in 7-zip.

Thank you for helping me out!



来源:https://stackoverflow.com/questions/46846678/how-to-open-and-view-the-xml-structure-of-an-excel-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!