Search code examples
c#.netxmlvisio

How to convert vsdx file to xml file


I want to convert .vsdx file to .xml file, I search for it in msdn and related question but didn;t found any answer. can anyone give me link or piece of code ?


Solution

  • To quote Microsoft:

    Office 2007 introduced new XML-based file formats for Microsoft Office Excel 2007, Office Word 2007, and Office PowerPoint 2007. Their file formats were the combination of a ZIP archive package and mainly XML content. Given the success of these formats, we decided to move in the same direction.

    You can think of the new VSDX format as being composed of two concepts: a ZIP archive package and XML content. First, we used the same ZIP archive package as used in Excel, Word, and PowerPoint. Formally, this package is defined by the Open Packaging Conventions (ISO/IEC 29500-2:2008) standard. Second, we based the XML content on our existing Visio XML Drawing (VDX) format.

    In other words, vsdx already is a xml-file, you just have to unzip it, no convertion needed