LISTSERV mailing list manager LISTSERV 16.5

Help for TEI-L Archives


TEI-L Archives

TEI-L Archives


TEI-L@LISTSERV.BROWN.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

TEI-L Home

TEI-L Home

TEI-L  November 2008

TEI-L November 2008

Subject:

Re: Why RNG instead of DTD?

From:

Marc <[log in to unmask]>

Reply-To:

Marc <[log in to unmask]>

Date:

Thu, 13 Nov 2008 17:18:52 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (37 lines)

Syd Bauman wrote:

> But take the following two equivalent[1] snippets of schema:
>
>  <!ELEMENT  menu        ( lunch, desserts, drinks )                 >
>  <!ELEMENT  lunch       ( dish+ )                                   >
>  <!ELEMENT  desserts    ( dish+ )                                   >
>  <!ELEMENT  drinks      ( beverage+ )                               >
>  
>  start =    element menu     { lunch, desserts, drinks              }
>  lunch =    element lunch    { dish+                                }
>  desserts = element desserts { dish+                                }
>  drinks =   element drinks   { beverage+                            }
>
> What about the first makes i