locked
Visio VDX cryptic data RRS feed

  • Question

  • While trying to read the XML data for visio, we found that there is lot of data which is under the element <foreignData> and it seems like a binary data. On reading the XSD, it seems its an OLE data (in our case the ObjectType='33280') which i didnt find in the documentation. We were reading the UML templates and specifically the class diagram and within that trying to read the properties of the classes (properties specified when a class is double clicked).

    wondering whether we can really just use a text processor (XML parser) to read the data represented in the Visio XML, as claimed by Microsoft.

     

    any help will be appreciated.


    Kaga
    Wednesday, September 28, 2011 10:58 AM

Answers

All replies

  • the uml stores it's internal data as binary.... and there is no published api

    al

     


    If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Al Edlund Visio MVP
    Wednesday, September 28, 2011 2:23 PM
  • Thanks for the confirmation, but its sad because that means anybody wanting to read UML data in Visio diagram cannot do that.

    Any other alternative which could be helpful to capture UML model information will be appreciated?


    Kaga
    Thursday, September 29, 2011 2:40 PM
  • afaik the uml add-on was a carry over of a 3rd party piece of code, it's part of the baggage that got carried forward.

    al

     


    If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Al Edlund Visio MVP
    Thursday, September 29, 2011 3:12 PM
  • appreciate the replies.

    would this be true if we read via the MS API route also, i understand there are .Net Visio API's available and am wondering would this aspect have the same challenge there or can this information be read easily from that route.


    Kaga
    Monday, October 3, 2011 1:52 PM
  • The current api's available (in my experience) cover the standard Visio product, not the add-ons.

    al

     


    If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Al Edlund Visio MVP
    Monday, October 3, 2011 4:09 PM
  • You can do XMI export, which AFAIK is the only documented way to pull information from the Visio UML model.

    The export functionality comes as a separate download for Visio 2003, and is bundled with Visio 2007 and 2010.

    http://blogs.msdn.com/b/visio/archive/2009/05/11/follow-up-visio-2007-service-pack-2-and-visio-conference-2008.aspx

    http://www.microsoft.com/download/en/details.aspx?id=20594

    http://msdn.microsoft.com/en-us/library/aa140339.aspx

    Tuesday, October 4, 2011 4:58 AM