sample11.dtd



<!ELEMENT document (title?, (text|image)*)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT text (#PCDATA)>
<!ELEMENT image EMPTY>
<!ATTLIST image
          s NMTOKEN #REQUIRED
          w NMTOKEN #IMPLIED
          h NMTOKEN #IMPLIED>
<!ENTITY message "Wakkanai is the coolest in Java">