http://us2.php.net/manual/en/libxml.constants.php

How can more than one libxml constant be used with a PHP XML command?

Like this:

$xml = simplexml_load_string($xmlString, null, LIBXML_COMPACT | LIBXML_DTDLOAD);