DTD

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