- From: <asi@acad.umass.edu>
- Date: Thu, 28 Jun 2001 16:46:06 -0400 (EDT)
- To: xmlschema-dev@w3.org
Hi, I'm new to xml and am trying to create a dtd. I am wondering if I can have 2 elements as children of each other. for eg. look at the following where I have "OnFailure" as a child-element of "Constraint" and then "Constraint" as a child-element of "OnFailure". <!ELEMENT Constraint (Formula,Condition,OnFailure) > <!ELEMENT Formula (#PCDATA) > <!ELEMENT Condition (#PCDATA) > <!ELEMENT OnFailure (Formula|Constraint) Also then, will I need to declare "Constraint" again as a child of "OnFailure"?... which would become a never ending process. Finally, if I use an element as a child of a number of other elements, do I need to declare it for all of them? for eg., in the example above, do I need to declare "Formula" under both "Constraint" and "OnFailure"? Thanks in advance, Akshaye
Received on Thursday, 28 June 2001 16:48:01 UTC