...
<body>
...
<div id="related.resources">
<myrddl:resource-directory
xmlns:myrddl="http://example.com/languages/myrddl"
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="extended"
xlink:role="http://example.com/linkroles#namespace-directory">
Directly within the resource-directory element, we
have a series of locator and arc
elements. The first locator is for the namespace itself:
<myrddl:locator
xlink:type="locator"
xlink:title="XMLSchema namespace"
xlink:label="ns"
xlink:role="http://www.w3.org/TR/xml-names"
xlink:href="http://www.w3.org/2001/XMLSchema"/>
Then, following a title and some other content, we have the locator
for the DTD for schemas, which contains a description. (I have not
marked up the description as a local resource which participates
in the extended link, but one could.)
<h1 xlink:type="title">Related Resources for XML Schema</h1>
<h2>Schemas for XML Schema</h2>
<myrddl:locator
xlink:type="locator"
xlink:label="dtd"
xlink:title="DTD for validating schema documents"
xlink:role="http://www.isi.edu/in-notes/iana/assignments/media-types/application/xml-dtd"
xlink:href="XMLSchema.dtd">
<div class="resource" id="DTD">
<h3>DTD</h3>
<p>A DTD <a href="XMLSchema.dtd">XMLSchema.dtd</a> for XML
Schema. It incorporates an auxiliary DTD, <a
href="datatypes.dtd">datatypes.dtd</a>.</p>
</div>
</myrddl:locator>
The second locator identifies the schema for schemas. Again, there
is some prose documentation.
<myrddl:locator id="xmlschema"
xlink:type="locator"
xlink:label="schema"
xlink:title="XML Schema document for validating schema documents"
xlink:role="http://www.w3.org/2001/XMLSchema"
xlink:href="XMLSchema.xsd">
<div class="resource">
<h3>XML Schema</h3>
<p>An <a href="XMLSchema.xsd">XML Schema schema document</a>
for XML Schema schema documents. Note the simple type formerly
called 'decimal', which was briefly renamed 'number', is back
to being called 'decimal'. Schema documents validated with
this schema document between 16 March and 30 March 2001 will
need to be modified if they used the 'number' type.</p>
</div>
</myrddl:locator>
Finally, we have three locators for the three parts of the Recommendation.
<h2>Normative References for XML Schema</h2>
<myrddl:locator id="xmlschemap1"
xlink:title="W3C XML Schema Part 1"
xlink:label="Rec-Part1"
xlink:role="http://www.w3.org/TR/html4"
xlink:href="http://www.w3.org/TR/xmlschema-1">
<p><a href="http://www.w3.org/TR/xmlschema-1"
>XML Schema Part 1: Structures</a>
</p>
</myrddl:locator>
<myrddl:locator id="xmlschemap2"
xlink:title="W3C XML Schema Part 2"
xlink:label="Rec-Part2"
xlink:role="http://www.w3.org/TR/html4"
xlink:href="http://www.w3.org/TR/xmlschema-2">
<p><a href="http://www.w3.org/TR/xmlschema-2"
>XML Schema Part 2: Datatypes</a>
</p>
</myrddl:locator>
<h2>Non-normative Documentation for XML Schema</h2>
<myrddl:locator id="xmlschemap0"
xlink:title="W3C XML Schema Part 0"
xlink:label="Rec-Part1"
xlink:role="http://www.w3.org/TR/html4"
xlink:href="http://www.w3.org/TR/xmlschema-0">
<p><a href="http://www.w3.org/TR/xmlschema-0"
>XML Schema Part 0: Primer</a>
</p>
</myrddl:locator>
And finally, we have the declarations of the arcs in this extended
link. For purposes of this example, we have assumed arcs from the
namespace itself to the DTD, to the schema, and to each part of
the documentation.
<myrddl:arc
xlink:from="ns"
xlink:to="dtd"
xlink:arcrole="http://www.rddl.org/purposes#validation" >
<myrddl:arc
xlink:from="ns"
xlink:to="schema"
xlink:arcrole="http://www.rddl.org/purposes#schema-validation" >
<myrddl:arc
xlink:from="ns"
xlink:to="Rec-Part1"
xlink:arcrole="http://www.rddl.org/purposes#normative-reference" >
<myrddl:arc
xlink:from="ns"
xlink:to="Rec-Part2"
xlink:arcrole="http://www.rddl.org/purposes#normative-reference" >
<myrddl:arc
xlink:from="ns"
xlink:to="Rec-Part0"
xlink:arcrole="http://www.rddl.org/purposes#non-normative-reference" >
And finally, the resource-directory element is closed.
</myrddl:resource-directory>
</div>
...
</body>
Bray, Tim, Dave Hollander, and Andrew Layman, ed. Namespaces in XML. World Wide Web Consortium 14 January 1999. [Cambridge, Sophia-Antipolis, Tokyo]: W3C, 1999. http://www.w3.org/TR/1999/REC-xml-names-19990114/ (Most recent version: http://www.w3.org/TR/REC-xml-names/)
Borden, Jonathan, and Tim Bray, ed. Resource Directory Description Language (RDDL). [n.p.]: [n.p.], 2001. http://www.openhealth.org/RDDL/20010305/ (Most recent version: http://www.rddl.org)
DeRose, Steve, Eve Maler, and David Orchard, ed. XML Linking Language (XLink) Version 1.0. W3C Recommendation 27 June 2001. [Cambridge, Sophia-Antipolis, Tokyo]: W3C, 2001.