DCD: namespaces in element and attribute references

Ron Bourret rbourret at dvs1.informatik.tu-darmstadt.de
Tue Sep 29 16:19:25 BST 1998


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

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list