W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

DTD

From: Yallala, Bhaskar <B_Yallala@DirectAdvice.com>
Date: Wed, 17 Jul 2002 14:40:17 -0400
Message-ID: <4AE579E553F1D511842F009027DE08D5131A06@MAIL1>
To: "Xml-Dev (E-mail)" <xml-dev@lists.xml.org>, "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>

How can I represent things like a box can have zero or more Red and/or Black
and/or Yellow balls?
Is it like this?

<!ELEMENT Box (Red* | Black* |Yellow*) >

When I create xml file like
<Box>
<Red/>
<Red/>
</Box>

it says it must match Box( Red| Black | Yellow).

Any ideas?




Yours sincerely,
Bhaskar Yallala
DirectAdvice Inc,
64, Pratt St,
Hartford, CT-06103.
Voice: 860-418-5418.
Fax: 860-560-0157
E-mail: b_yallala@directadvice.com
Build Richer Relationships
www.directadvice.com
Received on Wednesday, 17 July 2002 14:40:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:04 UTC