Difference Between Similar Terms and Objects

Difference Between XML and XLS

XML vs XLS

There has been some confusion with Microsoft’s decision to change formats from the already established formats of Office to the new XML based ones. Excel is one of the applications that has been affected by this change with XLS being replaced by XML based XLSX. XML, which stands for Extensible Markup Language, is actually a markup language and not a file format. Because of this, it is not specific to any application and is thus used by many others including Microsoft Office’s own Word, and Powerpoint applications.

Because XLSX uses XML, it also inherits key traits of XML that are very different from XLS. XML is text based while XLS is a binary format that cannot be opened with text editors. If you try to open XLSX with a text editor, you will get garbage. That is because the XML files are archived using the ZIP format. But you can easily open it with any archiving application like WinZip and WinRar to get to the actual XML files and open them with a text editor.

XML is also an open standard compared to XLS, which is not. XLS was not problematic as long as you are using Excel. But when you open it in another application or send it to someone who is on a Mac or Linux, it is very probably that the spreadsheet will not appear as you’ve intended. With the XML based XLSX, this is not a problem. The openness of the standard ensures that just about anyone can gain information on how Microsoft encodes certain aspects into the file and adjust their application’s behavior to adapt.

XLS was a very adequate format in the old days but has been criticized due to its closed nature. Microsoft’s decision to move to XML format for their Office applications is a welcome change that makes the format a little bit more universal. Even if the format is not adapted by other applications as their default, it gives them no reason not to have the ability to correctly open Excel spreadsheets and other office application extensions.

Summary:

1.XLS is the extension for Excel spreadsheets while XML is markup language
2.XML is the basis for the replacement for XLS
3.XML is text based and while XLS is binary
4.XML is an open format while XLS is not

Sharing is caring!


Search DifferenceBetween.net :




Email This Post Email This Post : If you like this article or our site. Please spread the word. Share it with your friends/family.


Leave a Response

Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Articles on DifferenceBetween.net are general information, and are not intended to substitute for professional advice. The information is "AS IS", "WITH ALL FAULTS". User assumes all risk of use, damage, or injury. You agree that we have no liability for any damages.


See more about :
Protected by Copyscape Plagiarism Finder