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

  • From: "Robert C. Lyons" <boblyons@u...>
  • To: mrossi@c..., xml-dev@l...
  • Date: Fri, 28 Sep 2001 13:50:49 -0400

Michael asked:
    Can anyone tell me if there's an unambiguous (deterministic) content
model
    equivalent to the following:

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

Michael,

The following seems to be deterministic and equivalent
to your content model:

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

Hope this helps.

Bob

<sig name    = 'Bob Lyons'
     title   = 'B2B Integration Consultant'
     company = 'Unidex, Inc.'
     phone   = '+1-732-975-9877'
     email   = 'boblyons@u...'
     url     = 'http://www.unidex.com/'
     product = 'XML Convert: transforms flat files to XML and vice versa' />


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