Checks the basic DTD functionality. >>>>templates/test.tpl <?xml version="1.0" ?> <opt:dtd><![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ]]></opt:dtd> >>>>expected.txt OUTPUT >>>>result.txt <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">