Re: How to prevent DomDocument from adding a !DOCTYPE.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# mathijs.van.veluw@xxxxxxxxxxx / 2007-01-16 15:37:09 +0100:
> Im using DomDocument currently and i realy want to prevent it from adding 
> the !DOCTYPE and mabye even <html> and <body> etc..
> Is this possible and how?

Doesn't DOMDocument *require* DTD?  I thought it's either that or a
"document fragment" (which is probably what you're looking for).

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux