OpenXML Excel Sheet.xml Schema RRS feed

  • Question

  • Hello,

    I am using the 2.0 OpenXML SDK and have come across a rather frustrating issue.

    When I create an Excel Workbook in OpenXML the Sheet.xml file is created with what appears to be quite a simple schema. If I then open the Workbook in Excel and save it (without making changes) the schema is updated to the more complicated one (including shared strings and other references).

    For example...

    My App makes:

    <x:worksheet xmlns:x="">

    Excel changes it to:

    <worksheet xmlns:x14ac="" mc:Ignorable="x14ac" xmlns:mc="" xmlns:r="" xmlns="">

    The problem I have is that the third-party software that my application is creating these files for requires the file format that Excel produces and not the one that OpenXML seems to.

    Is there an option in OpenXML to change the schema? Do I need a different version of the SDK?


    >> Jim <<

    Wednesday, June 12, 2013 10:58 AM