DCD: namespaces in element and attribute references

Ron Bourret (rbourret@dvs1.informatik.tu-darmstadt.de)
Tue, 29 Sep 1998 16:07:12 +0200


When referring to attributes and elements in another namespace, DCD uses a
prefixed element or attribute name. The prefix identifies the namespace, which
corresponds to the value of the Namespace element in some external DCD. For
example:

<ElementDef Type="foo">
<Group RDF:Order="Seq">
<Element>bar</Element> <!-- bar is defined in this DCD -->
<Element>baz:blah</Element> <!-- blah is defined in a separate DCD -->
</Group>
</ElementDef>

How is the prefix associated with a namespace? With an xmlns:xxx attribute? If
so, are there any adverse consequences to doing this? (I can't think of any
right off.)

-- Ron Bourret