开发者

Merging Multiple XSD files

I have around 6 individual xsd schemas that define one complex type each. I want t开发者_JAVA百科o create a master xsd schema and include all six of the xsd so that I can generate an xml document that can contain an element from each individual schema. Can this be done?


Yes, you can use <xs:import> or <xs:include> to incorporate the six individual files into one "master" schema.

Be careful which of <xs:import> or <xs:include> you use, though, they're quite different in what they mean, but without knowing anything about your schema, I can't advise you which to use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜