Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to share a schema?

 
roger wong
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, if there are two schemas that are almost same except namespace, Is there a way to define two schemas to share a common schema?

like:

a.xsd
<xsd:schema ... targetNamespace="http://a.com">
<xsd:include schemaLocation="c.xsd"></xsd:include>
</xsd:schema>

b.xsd
<xsd:schema ... targetNamespace="http://b.com">
<xsd:include schemaLocation="c.xsd"></xsd:include>
</xsd:schema>

c.xsd
<xsd:schema>
</xsd:schema>

Is there a way to do so?



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic