[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

What tool can I use to create an xsd file from an existing xml file

What tool can I use to create an xsd file from an existing xml file

I hope more than one are listed, so I can compare the tools

Thanks
0
Anthony Lucia
Asked:
Anthony Lucia
2 Solutions
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Using Microsoft Visual Studio / SQL Server Data Tools..

Open SSIS and create a new project.
Add a date flow task in the control flow, then double-click it to get to the Data Flow.
Add an XML Source Editor.
   Populate the XML Location to point to your XML file.
   Hit the 'Generate XSD...' file, and wham jam it creates an XSD file for you.
XML Source Editor
0
 
Geert BormansCommented:
In case you don't have visual studio

A commonly used java command line tool is Trang
http://www.thaiopensource.com/relaxng/trang-manual.html

Trang is integrated in a number of XML IDE

I use myself Oxygen or Stylus Studio
www.oxygenxml.com
www.stylusstudio.com
They both have very configurable options for creating XSD from 1 or multiple XML files
They are pay-ware, but have evaluation versions
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now