Skip to Content
0

Merging 2 XSDs

Jan 25, 2017 at 10:53 PM

62

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Iñaki Vila Jan 26, 2017 at 07:13 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 27, 2017 at 07:24 PM
0

Thanks Inaki, There are 6 XSDs ,I need to find out which XSD is the one in which all the XSDs are referred. Need to merge all these 6XSDs to create a XSD schema.

How to do it?

Thanks in advance

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 28, 2017 at 12:12 AM
0

Hello Experts,

Any help please?

Thanks in advance,

Vikas

Share
10 |10000 characters needed characters left characters exceeded