XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Neal WaltersSubject: XSD to DDL (MS-SQL/2005)
Author: Neal Walters
Date: 26 Mar 2008 05:18 PM
I have 2008 XML Enterprise Suite. Is there a tool to take a hierarchical XSD and generate DDL (Create table and columns for each major element, and ideally foreign keys between interelated elements).
Targeting to Microsoft SQL 2005 database.

Thanks,
Neal Walters
http://BizTalk-Training.com

Postnext
Alberto MassariSubject: XSD to DDL (MS-SQL/2005)
Author: Alberto Massari
Date: 27 Mar 2008 12:39 PM
Hi Neal,
Stylus Studio doesn't provide such a functionality; you can try writing an XSLT to transform the declarations into CREATE TABLE statements, or explore the functionality of SQL Server 2005 to load directly an XSD (see http://blogs.msdn.com/denisruc/archive/2006/04/18/578671.aspx as an example).

Hope this helps,
Alberto

Postnext
Stylus UserSubject: XSD to DDL (MS-SQL/2005)
Author: Stylus User
Date: 24 Apr 2008 04:52 PM
That is unfortunate, this feature would be greatly appreciated. Combined, MapForce (maps DB<->XML, DB<->DB and XML<->XML) and XMLSpy (generates DDL from schemas) from Altova contain the database integration we're looking for in Stylus Studio. It would be great to have both in one tool, Stylus Studio.

Postnext
Minollo I.Subject: XSD to DDL (MS-SQL/2005)
Author: Minollo I.
Date: 24 Apr 2008 05:30 PM
I think you are mixing the concept of XSD to/from DDL with the ability to work with RDBMS data sources. Stylus Studio's XQuery mapper lets you create mappings that deal with XML documents, RDBMS data sources, Web services or even EDI files, CSV files and more.

About RDBMS support, take a look at: http://www.stylusstudio.com/videos/ddxqdemo/datadirectxquery.html

Postnext
Stylus UserSubject: XSD to DDL (MS-SQL/2005)
Author: Stylus User
Date: 28 Apr 2008 12:48 PM
Yes, they are interdependent. We develop custom applications and receive an xsd from a third party. The database needs to be constructed to support the incoming XML. The database is the future target of the mappings. When the schema changes, database updates occur to reflect the change in schema. Generating the DDL would save a lot of work during creation and updates.

Posttop
Stylus UserSubject: XSD to DDL (MS-SQL/2005)
Author: Stylus User
Date: 28 Apr 2008 12:50 PM
Hi Neal, here is an XSLT stylesheet which might help you:

http://annlewkowicz.blogspot.com/2007/03/create-ddl-from-dataset-xsd-file.html

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.