Difference between revisions of "OpenXML"
From Blue-IT.org Wiki
(Created page with "This technology from microsoft == OpenXML SDK 2.0 == This is for Office 2010 and .NET 3.5 * http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5124 He...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
== OpenXML SDK 2.0 == | == OpenXML SDK 2.0 == | ||
− | This is for Office 2010 and .NET 3.5 | + | This is for Office 2010 and .NET 3.5. |
+ | After playing around with this I had recognized that the "(Microsoft) Office OpenXML File Format" is NOT really compatible with Microsoft office's produced documents, especially complexer documents. This leads to the problem, that even really simple Word or Excel documents in MS native xml format simple cannot be parsed or opened with the OpenXML SDK. Therefore you cannot parse them with the standard mechanisms given by the XML assemblies. To make it clear: stay completely with Microsoft native format and use COM or produce "Office Open XML Format" documents first, then check them with the '''Open XML SDK Productivty Tool''' which is available in your start menu when you installed the SDK. | ||
+ | |||
+ | For convenience: The '''Office Open XML Format'' is not compatible and something complete different to OpenOffice / Libreoffice ODF Format , therefore use the in the microsoft world socalled ''OpenDocument Format'' (e. g. ODF 1.1, which is supported by Office 2010). If in practice the MS Office suite is really compatible will be part of a later research ;-) | ||
+ | |||
+ | About: | ||
+ | * https://en.wikipedia.org/wiki/Office_Open_XML_file_formats | ||
+ | |||
+ | Comparison to ODF: | ||
+ | * https://en.wikipedia.org/wiki/Comparison_of_Office_Open_XML_and_OpenDocument | ||
+ | |||
+ | Download: | ||
* http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5124 | * http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=5124 | ||
Latest revision as of 08:05, 17 November 2015
This technology from microsoft
OpenXML SDK 2.0
This is for Office 2010 and .NET 3.5.
After playing around with this I had recognized that the "(Microsoft) Office OpenXML File Format" is NOT really compatible with Microsoft office's produced documents, especially complexer documents. This leads to the problem, that even really simple Word or Excel documents in MS native xml format simple cannot be parsed or opened with the OpenXML SDK. Therefore you cannot parse them with the standard mechanisms given by the XML assemblies. To make it clear: stay completely with Microsoft native format and use COM or produce "Office Open XML Format" documents first, then check them with the Open XML SDK Productivty Tool which is available in your start menu when you installed the SDK.
For convenience: The 'Office Open XML Format is not compatible and something complete different to OpenOffice / Libreoffice ODF Format , therefore use the in the microsoft world socalled OpenDocument Format (e. g. ODF 1.1, which is supported by Office 2010). If in practice the MS Office suite is really compatible will be part of a later research ;-)
About:
Comparison to ODF:
Download:
Here an article on how to use it:
"How to create a document from a template (dotx, dotm) and attach to it using Open XML SDK":