Re: DTD

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