OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] DTD ( From Eliotte Rust Harold's Book)



From: "Martin Gudgin" <marting@develop.com>

> You could also do this
>
>     <!ELEMENT DIVISION (TEAM,TEAM,TEAM,TEAM,TEAM?,TEAM?) >
>

Not if your processor correctly disallows non-deterministic content models.
However, the same expression can be written deterministically like this:-

<!ELEMENT DIVISION (TEAM,TEAM,TEAM,TEAM,(TEAM,TEAM?)?) >

Regards
~Rob

--
Rob Lugt
ElCel Technology
http://www.elcel.com/