in

The ORM Foundation

Get the facts!

VisioToCoreModelImport.xslt

Last post 06-11-2006 20:17 by Kevin M. Owen. 12 replies.
Page 1 of 1 (13 items)
Sort Posts: Previous Next
  • 06-11-2006 18:02

    VisioToCoreModelImport.xslt

    How is this used to import visio files?
    
    thanks
  • 06-11-2006 18:10 In reply to

    • Kevin M. Owen
    • Top 500 Contributor
      Male
    • Joined on 11-18-2007
    • Neumont University, South Jordan, Utah
    • Posts 0

    RE: VisioToCoreModelImport.xslt

    First, export your Visio model to XML using Orthogonal Toolbox, available from http://www.orthogonalsoftware.com/products.html
    
    After that, all you need to do is open that XML file in Visual Studio, and it should automatically be converted and opened by NORMA. To be able to save that file, you will need to do a 'Save As' first. We require this so that users don't accidentally save over their original copy of the model without realizing it.
  • 06-11-2006 18:50 In reply to

    RE: VisioToCoreModelImport.xslt

    When in a ORM project the file>open just opens the xml file. No ORM conversion.
    
    If its added to the solution the open with ORM designer doesn't convert it either.
    
    tedc
  • 06-11-2006 18:54 In reply to

    • Kevin M. Owen
    • Top 500 Contributor
      Male
    • Joined on 11-18-2007
    • Neumont University, South Jordan, Utah
    • Posts 0

    RE: VisioToCoreModelImport.xslt

    My apologies, I forgot to mention one of the required steps.
    In the Open File dialog, select the XML file exported from Visio. Then, click on the down arrow glyph on the right of the "Open" button. Select "Open With...", and a list of different editors should appear. Select "ORM Designer" from this list, and press "OK".
  • 06-11-2006 19:03 In reply to

    RE: VisioToCoreModelImport.xslt

    That's the problem. If using file.open from the top toolbar ORM designer is not listed.
    
    If included into the sln, ORM designer is listed but doesn't convert.
    
    tedc
  • 06-11-2006 19:08 In reply to

    • Kevin M. Owen
    • Top 500 Contributor
      Male
    • Joined on 11-18-2007
    • Neumont University, South Jordan, Utah
    • Posts 0

    RE: VisioToCoreModelImport.xslt

    What happens when it is included in the sln and you choose ORM Designer? Does it still open in the XML editor?
  • 06-11-2006 19:11 In reply to

    RE: VisioToCoreModelImport.xslt

    Actually if the Visio.xml file is included it the solution and then open with>ORM Designer it displays a blank tab named Visio.xml.
    
    I can't see any data in any of the ORM browsers, etc.
    
    tedc
  • 06-11-2006 19:21 In reply to

    • Kevin M. Owen
    • Top 500 Contributor
      Male
    • Joined on 11-18-2007
    • Neumont University, South Jordan, Utah
    • Posts 0

    RE: VisioToCoreModelImport.xslt

    Hmm, something would seem to be not working correctly.
    
    Try opening the Visio.xml file in Studio's regular XML editor. Then, from the "XML" menu, choose "Show XSLT Output". It should prompt you whether you want to specify a stylesheet. Click yes, and browse to the "VisioToCoreModelImport.xslt" file.
    Studio should then run the transform again your model file, and open the result in a new document window. What does the result like? Is it empty?
  • 06-11-2006 19:28 In reply to

    RE: VisioToCoreModelImport.xslt

    <?xml version="1.0" encoding="utf-8"?>
    
    is in the new window. BTW Visio.xml is not under the ORMModel1.orm tree; its a peer.
    
    tedc
  • 06-11-2006 19:39 In reply to

    • Kevin M. Owen
    • Top 500 Contributor
      Male
    • Joined on 11-18-2007
    • Neumont University, South Jordan, Utah
    • Posts 0

    RE: VisioToCoreModelImport.xslt

    In the Visio.xml file, what does the second line say? It should be something like "Generated by Orthogonal Toolbox (<version number>)"...
  • 06-11-2006 19:55 In reply to

    RE: VisioToCoreModelImport.xslt

    Bingo!
    
    It works. It was the old rev of the Orth Toolbox that caused the problem.
    
    Thanks ever so much.
    
    tedc
  • 06-11-2006 20:00 In reply to

    RE: VisioToCoreModelImport.xslt

    Can the Visio be brought in page by page?
    
    I have a large diagram generated by reverse engineering.
    
    tedc
  • 06-11-2006 20:17 In reply to

    • Kevin M. Owen
    • Top 500 Contributor
      Male
    • Joined on 11-18-2007
    • Neumont University, South Jordan, Utah
    • Posts 0

    RE: VisioToCoreModelImport.xslt

    At the current time, probably not.
    As far as I know, Visio treats all the pages as part of a single model, and Orthogonal Toolbox only exports that backend model information, not the diagram, paging, and layout information.
Page 1 of 1 (13 items)
© 2008-2014 The ORM Foundation: A UK not-for-profit organisation -------------- Terms of Service