aspose file tools*
The moose likes Product and Other Certifications and the fly likes XML Schema - polymorphism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "XML Schema - polymorphism" Watch "XML Schema - polymorphism" New topic
Author

XML Schema - polymorphism

Arundhathi Menon
Ranch Hand

Joined: Jan 14, 2004
Posts: 113
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


SCJP , SCWCD , SCBCD , SCDJWS
 
Don't get me started about those stupid light bulbs.
 
subject: XML Schema - polymorphism