cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello Experts,

I need to merge 2 XSDs into one. I have got 2 XMLs that I need to convert to XSDs. Then I need to merge these 2 XSDs. I have to first convert these 2 XMLs into XSDs. How to do this?

Secondly as a practise I tried to import on XSD as External Definition and got some error kind of thing in the type column of the imported SXD so I checked if there are any XSDs being referred in the XSD imported. I had 3 different XSDs available . So I copied the type in the External Definition and searched in all the 3 XSDs. Now the questions start

1. if I come to know that the type is there XSD1 then how to refer it in imported XSD

2. How to come to know if XSD1 is referring to some XSD and if so how to refer that referenced XSD in XSD1

Really appreciate your valuable inputs on this.

Thanks in advance, Vikas

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

You have several online tools to work with XSDs.

To generate XSD from XML:

http://www.freeformatter.com/xsd-generator.html

To merge XSDs, you can use Oxygen XML or to try with this java code

https://technet.microsoft.com/en-us/library/ms190756(SQL.90).aspx

Refering your last questions you can work with the XSD INCLUDE element:

http://www.w3schools.com/xml/el_include.asp

Regards.