DCD and namespaces.

Frank Boumphrey (bckman@ix.netcom.com)
Thu, 13 Aug 1998 11:11:45 -0400


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