jimbo
jimbo

Reputation: 611

Is it possible to have a single XSD with multiple namespaces?

I know it would be bad practice, but is there a way of combining separate XSDs into a single file, but maintaining the differing namespaces?

Upvotes: 0

Views: 138

Answers (1)

Michael Kay
Michael Kay

Reputation: 163272

No, you have to organise a schema so that different target namespaces go in different schema documents.

You could of course maintain the data in some other form and generate the XSD documents, but that doesn't seem very convenient.

Upvotes: 1

Related Questions