This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ELEMENT declaration in DTD


I'm trying to understand DTDs better and am using DocBook to help.  Would 
someone be so kind and answer the following (probably extremely simple) 
question.

Everywhere in the DocBook DTD files one sees lines like:

   <!ELEMENT foobar - - ((some|stuff)*)>
or
   <!ELEMENT foobar - O ((some|stuff)*)>

What are the '-' and 'O' doing in there?  A case of virtual beer if you 
include an XML Spec. section citation.  :-)

Thanks loudly and with cymbals.
-- 
Mike Sangrey
mike@sojurn.lns.pa.us
Landisburg, Pa.
       There is no 'do' in faith, everywhere present within it is 'done'.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]