This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XML Schema - polymorphism  RSS feed

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

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

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!