Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XML to XSD tool for linux

Tags:

linux

xml

xsd

What's the best tool out there to create (or to infer) an XSD schema from XML document? I need it to be linux-compatible.

like image 565
Aitor Avatar asked Jul 27 '11 11:07

Aitor


People also ask

How do I create an XSD from an XML file?

With the desired XML document opened in the active editor tab, choose Tools | XML Actions | Generate XSD Schema from XML File on the main menu. The Generate Schema From Instance Document dialog box opens. and select the desired file in the dialog that opens.

What is XSD tool?

The XML Schema Definition (Xsd.exe) tool generates XML schema or common language runtime classes from XDR, XML, and XSD files, or from classes in a runtime assembly.

Can we convert XML to XSD online?

Use this XML to XML Schema converter tool by pasting or uploading XML in the left box below. Results will appear in the box on the right. Generate XML Schema from XML with this XSD Generator. Input (XML) - Paste your XML here.

How do I get XSD?

xsd using following steps : Create library (optional) > Right Click , New Message Model File > Select SOAP XML > Choose Option 'I already have WSDL for my data' > 'Select file outside workspace' > 'Select the WSDL bindings to Import' (if there are multiple) > Finish. This will give you the . xsd and .


1 Answers

In the past I have used Trang : http://www.thaiopensource.com/relaxng/trang.html

Its old and basic but i find it generates cleaner schemas than other tools (e.g. XMLSpy)

like image 68
Sam Avatar answered Oct 11 '22 06:10

Sam