This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML Schema - polymorphism
 
Similar Threads
Doubt on XML Schema validity
regarding xml syntax
newbie question: ref or complex type ?
how does xml look like for this schema ?
xsd question