3

I have a more XSD files which contain the description of the message structure. Our application can use only one XSD so at the moment I need to merge the XSDs into one XSD manually. Take care with the namespaces and so one.

Do you have any idea how can I make it automatically without copy paste?

I have tried to generate classes from the XSDs and generate again a single XSD but that was not worked.

kjhughes
  • 106,133
  • 27
  • 181
  • 240
Gabor Sandor
  • 53
  • 2
  • 8

2 Answers2

2

The function you're describing goes by the name of flattening and is available in commercial XML/XSD editors such as XMLSpy, oXygen XML Editor, and QTAssistant.

kjhughes
  • 106,133
  • 27
  • 181
  • 240
2

Be careful what you want. In my case I had a schema which was importing two other schema files. As all of them were using different namespaces, so they could not be "flatten" by XMLSpy. I guess this function is meant for something else then. Made the tool useless for me and I merged them manually again by copy&paste the import part into the base file.

Holle
  • 31
  • 2