File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to share a schema?

 
roger wong
Ranch Hand
Posts: 32
  • 0
  • 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?



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic