dtd5 171 B

1234567
  1. <?xml version="1.0"?>
  2. <!DOCTYPE doc [
  3. <!ELEMENT doc (#PCDATA | a | b)*>
  4. <!ELEMENT a (#PCDATA)>
  5. <!ELEMENT b (#PCDATA)>
  6. ]>
  7. <doc><a>This</a> is a <b>valid</b> document</doc>