Presents: ObjectRoleModeling.com Thursday, March 11, 2010
  Search
Register Login
Forums
 
 

Note: To post to a thread, you must be logged in.

  Syndication  
   
  Forums Minimize  
 
 
ForumForumOrthogonal Tool...Orthogonal Tool...SupportSupportXML > SQL ScriptXML > SQL Script
Previous Previous
 
Next Next
New Post
 3/2/2006 12:21 PM
 

I read somewhere that I could use this tool to export to XML then take the XML and create the sql script to create the tables and relationship that I have setup in Microsoft 2002 Visio professional. Is this possible and if so how? Thanks

New Post
 3/2/2006 12:41 PM
 
New Post
 4/28/2006 11:36 AM
 
 Modified By triffle  on 4/28/2006 8:52:22 AM

I have no problems using the tool, but I have no idea what to do with the XML file that I've created. 

I am new to XML, but not to SQL, etc...

FYI, I tried the instructions for the XSLT page, but here's the error that I get:

 

The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/triffle/Desktop/test...

  <?xml version="1.0" encoding="UTF-8" ?> 

New Post
 4/28/2006 12:04 PM
 

Okay, I'm doing something wrong.  FYI, I have Viseo Pro 2003. 

I created a table called crap, gave it a crap_ID, crap_details, crap_code column and nothing else.  I tried exporting and got the same error. 

FYI, I -am- using the XSLT that transforms the XML into a DDL SQL...  I'm sure this is an easy one, so let me know your thoughts and thanks for your help in advance.  I really want to get this to work...  I told one of our developers that we weren't going to do this in SQL because I could do this in Viseo and parse out the SQL.  I hope I am still right.  :)

New Post
 4/30/2006 4:35 PM
 
Hi Triffle,

I can't reproduce this. Could you please e-mail me the vsd, the exported XML, and the XSLT you are using? Please e-mail them to my first name at object role modeling dot com.

Thanks,
Scot.
New Post
 5/1/2006 9:58 AM
 

Hey Scot,

I sent the vsd, xml and xslt to you.  Let me know if there's something else that I can provide.  I'm sure it's something simple on my end that I'm overlooking. 

 

Thanks,

Travis

New Post
 6/6/2006 10:15 AM
 
 Modified By pierre.cusson@cexp.ca  on 6/6/2006 7:16:15 AM

I had the same issue. I simply had to copy the .xslt file in the same folder as my .xml file and change the <?xml-stylesheet type="text/xsl" href="OTERtoSQL.xslt"?> line in the .xml file.

I assume that have the .xslt file in the default "Program Files" folder may cause reference error for Internet Explorer. My .xml was on a network share also. This combine with the .xslt file being on the C: drive may have cause a path error or something.

By putting everything in the same folder solved it. I've been able to view the script all right. I just need to beautify it a little to make it human readable, other than that, DDL looks good.

Thanks for the tool, saved me a lot of time.

Pierre.

New Post
 8/29/2007 4:44 PM
 
I'm having a similar problem as noted in the previous post.   I have a good visio diagram in Visio 2007 and have the plugin installed.  The plugin works and exports the XML using the ER to SQL stylesheet.  When I try to open the resulting XML file it seems to load but the page displayed is just blank.   I've tried to make sure that the style sheet path is right and have confirmed this by testing the HTML stylesheet (1.5) which works fine.  Any ideas what I could be doing wrong.  Also any tips in getting the XML into Access 2007 would be helpful.

Thank you very much.
Merc
New Post
 9/3/2007 9:37 AM
 
 Modified By Scot  on 9/3/2007 6:38:18 AM
Hi Merc,

It might be a rendering problem in your browser (i.e. if it's not HTML it doesn't interpret/display it). What browser/version are you using?

My knowledge of Access is dated, but I don't believe there was a DDL/import functionality. That may have changed with a later version. Dig around and see if they support some type of SQL DDL or maybe an XML schema? Once you know that, you can adjust the XSLT to gen the output in a version Access can read.

Scot.
Previous Previous
 
Next Next
ForumForumOrthogonal Tool...Orthogonal Tool...SupportSupportXML > SQL ScriptXML > SQL Script

 
 
© 2003 - 2009 Orthogonal Software Corporation. All rights reserved. Terms Of Use Privacy Statement