<?xml version="1.0"?> <!DOCTYPE doc [ <!ELEMENT doc (#PCDATA | a | b)*> <!ELEMENT a (#PCDATA)> <!ELEMENT b (#PCDATA)> ]> <doc><a>This</a> is a <b>valid</b> document</doc>