Create three-level taxonomy modeling strategies using W3C XSD and OASIS CAM

Consider a simple modeling strategy in the context of two schema approaches

From the developerWorks archives

Piers Hollott

Date archived: December 6, 2016 | First published: January 18, 2011

Often when people create a vocabulary to describe a problem-space, they find themselves using a taxonomy that divides the problem-space using three levels. For example, in a financial application, a ledger record might be identified categorically (debit or credit) and then broken down within these categories by type and subtype (for instance, "interest accrued due to prior underpayment" might be broken into a triple of credit/interest/underpayment). You can model this sort of structure in XML in a number of ways depending on the requirements of the data, and you can enforce this modeling using a variety of different schema approaches. I describe two schema approaches: W3C XML Schema Definition (XSD) and Organization for the Advancement of Structured Information Standards (OASIS) Content Assembly Mechanism (CAM).

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML, Open source
ArticleID=607483
ArticleTitle=Create three-level taxonomy modeling strategies using W3C XSD and OASIS CAM
publish-date=01182011