[Home] [By Thread] [By Date] [Recent Entries]

  • From: Maneesha Jain <Maneesha.Jain@E...>
  • To: petsa@u..., xml-dev@i..., tbray@t..., cfranks@m...
  • Date: Tue, 19 Jan 1999 16:33:35 -0800 (PST)

Hi,

I have following questions on DCD. Any help would be a great help.

1) 
If I define an ElementDef type "A", and then a ElementDef type "B"
which could contain two elements/members of type A. How do I define that ?

Can I do the following:

<ElementDef Type="A">
	<Element>foo</Element>
</ElementDef>

<ElementDef Type="B">
	<Element> Ist</Element>   (first member of type A)
	<Element> Second</Element>	(second member of type A)
</ElementDef>

<ElementDef Type="Ist" Model="Data" Datatype="A"/>
<ElementDef Type="2nd" Model="Data" Datatype="A"/>

Or is the value of attribute "Datatype" reserved to what is defined in the spec 
?

2) Wish <Element> could allow <Description> just like <ElementDef>. Is it 
possible ?

4) What is the syntax for defining multiple inheritance ?

5) Where is the DTD for DCD ?

6) Is there any site containing couple of examples for defining DCDs ?

Regards,
Maneesha


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member