DCD and namespaces.

Frank Boumphrey bckman at ix.netcom.com
Thu Aug 13 17:07:36 BST 1998


Hi,

a quick question about DCD.

Is a namespace declaration necessary in the same way it is in XML-Data, and
if it is which of the following (if either) is correct.

Example1.
<DCD>
 <namespace>http://w3.org/Schemas/DCD</namespace>
 <ElementDef>
  <type>Greeting</type>
  <model>Data</model>

 </ElementDef>
</DCD>
<greeting> Hello World! </greeting>

Example2

<DCD xmlns="http://w3.org/Schemas/DCD">
  <ElementDef>
  <type>Greeting</type>
  <model>Data</model>

 </ElementDef>
</DCD>
<greeting> Hello World! </greeting>

TIA,

Frank

Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com


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