OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   DCD: namespaces in element and attribute references

[ Lists Home | Date Index | Thread Index ]
  • From: rbourret@dvs1.informatik.tu-darmstadt.de (Ron Bourret)
  • To: xml-dev@ic.ac.uk
  • Date: 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

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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS