- From: JohnRobert Gardner <John.Robert.Gardner@Sun.COM>
- Date: Wed, 17 Jul 2002 15:03:17 -0400
- To: "Yallala, Bhaskar" <B_Yallala@DirectAdvice.com>
- Cc: "Xml-Dev (E-mail)" <xml-dev@lists.xml.org>, "Xmlschema-Dev (E-mail)" <xmlschema-dev@w3.org>
My DTD days are on the wane, but wouldn't a * outside the closing paren do the trick? jr "Yallala, Bhaskar" wrote: > > 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 -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- John Robert Gardner Corporate Software Services, IT Sun Microsystems, Burlington 781-730-4158/6-9482 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Projects: http://sevenof9.east.sun.com/~gardnerj/ Calendar: http://cal.central.sun.com/?calid=jg113402&security=1
Received on Wednesday, 17 July 2002 15:02:31 UTC