Tag Archives: DTD

Using Catalogs for Validation with PHP’s DOMDocument and Libxml2

DOMDocument schema and DTD validation in PHP can make use of libxml2’s Catalog support feature. A catalog is basically a XML file which contains information where to obtain the DTD and XSD schema from local disk. That is mapping a … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments

HTML5 is lame

Some say XHTML was lame. If so, HTML5 will be even more lame. There isn’t any DTD. Can you imagine? Is the HEAD element needed or not? And what about the BODY or HTML element? Who can answer these questions? … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment