File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Schema - polymorphism

 
Arundhathi Menon
Ranch Hand
Posts: 113
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Polymorphism

Schema A:


XML Document which uses Schema A:




So the element chineseRecipe will now have the cd:recipe type and not the ab:recipe type as defined in the schema.

But how do we check whether cd:recipe is in anyway inherited from ab:recipe???

Thank you in advance

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