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

From: Date: Tue, 16 Jan 2007 16:57:08 +0000
Subject: Re: How to prevent DomDocument from adding a !DOCTYPE.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-247162@lists.php.net to get a copy of this message
# mathijs.van.veluw@smscity.com / 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

« previous php.general (#247162) next »