<!--$Id: joke.dtd,v 1.2 1999/11/23 04:03:05 krisrose Exp $
  DTD for jokes (just for fun). -->

<!ENTITY % bool "yes|no">

<!ELEMENT collection (joke)*>

<!ELEMENT joke (setup|pause|punch-line|annotation)*>
<!ATTLIST joke label ID #REQUIRED
               refs IDREFS
               offensive (%bool;) 'no'
               ethnical (%bool;) #FIXED 'no'>

<!ELEMENT setup (#PCDATA|emph)*>
<!ATTLIST setup type (normal|question) 'normal'>

<!ELEMENT punch-line (#PCDATA|emph)*>
<!ATTLIST punch-line type ( normal | question ) 'normal'>

<!ELEMENT emph (#PCDATA)>

<!ELEMENT pause EMPTY>
<!ATTLIST pause seconds CDATA>

<!ELEMENT annotation ANY>
<!ATTLIST annotation refs IDREFS #IMPLIED>
