rudimentary doctype support
XML with a doctype now works
Merge pull request #3 from labster/master

support for pages with a DOCTYPE element