[Home] [By Thread] [By Date] [Recent Entries]

  • From: Imran Rashid <irashid@s...>
  • To: mrossi@c..., xml-dev@l...
  • Date: Fri, 28 Sep 2001 12:51:39 -0500

At 1:14 PM -0400 9/28/01, mrossi@c... wrote:
>Can anyone tell me if there's an unambiguous (deterministic) content model
>equivalent to the following:
>
>      <!ELEMENT test (A | (A?, (B, C)+))>
>
>? And of course, by equivalent I mean maintaining all the semantic
>constrains and flexibility of the original.

if I understand this correctly, it is

an A followed by 0-inf (B,C) pairs

or

1- inf (B,C) pairs


how about

<!ELEMENT test ( (A , (B,C)* ) | (B,C)+ )>

??

hope this helps,
Imran

-- 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member