<?xml version="1.0" ?> <!DOCTYPE myhtml [ <!-- This document will be invalid - there is no declaration for the h1 element. --> <!ELEMENT myhtml ANY > <!ELEMENT head ANY > <!ELEMENT title ANY > <!ELEMENT body ANY > <!ELEMENT p ANY > ]> <myhtml> <head><title> Simple example XML document </title> </head> <body> <h1> Simple Example XML Document </h1> <p> This is an example XML document, with a DTD defining the syntax constraints preceding the markup. This document is consistent with the rules in the DTD, so it should validate. </p> <p> Here is a second paragraph of text. </p> </body> </myhtml>