Re: How to prevent DomDocument from adding a !DOCTYPE.
| From: | Mathijs van Veluw | Date: | Tue, 16 Jan 2007 19:42:48 +0000 |
| Subject: | Re: How to prevent DomDocument from adding a !DOCTYPE. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247176@lists.php.net to get a copy of this message | ||
Roman Neuhauser wrote:
# mathijs.van.veluw@smscity.com / 2007-01-16 15:37:09 +0100:And how should i do this? Do you have any example avelable? Thx. --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 000703-2, 01/16/2007 Tested on: 1/16/2007 8:42:48 PM avast! - copyright (c) 1988-2007 ALWIL Software. http://www.avast.comIm 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).