Purposes

Natures are not unique. An XML application in a single namespace may have several schemas, even in one schema language. It may have more than one DTD. (XHTML 1.0 has three.) The schema or DTD may be broken up into many modules. Stylesheets, software, documentation, and other related resources may be even more diverse. The specific kinds of resources that are related to a namespace can be further subdivided by purpose. A URI identifying the purpose is included in the rddl:resource element's xlink:arcrole attribute. For example, here are three different rddl:resource elements describing different resources related to MBSML.

 <rddl:resource xlink:type="simple" xlink:href="http://developer.megabank.com/xml/spec.html" xlink:role="http://www.w3.org/TR/html4/" ...

Get Effective XML: 50 Specific Ways to Improve Your XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.