Re: Re: domxml and setting the DOCTYPE

From: Date: Tue, 24 Sep 2002 14:28:33 +0000
Subject: Re: Re: domxml and setting the DOCTYPE
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-117416@lists.php.net to get a copy of this message
Don't know much about DOM, but it seems you can use dump_mem() to dump the xml into a string, and then replace your first line Raphael Bauduin wrote:
Please, don't tell me I can't set the doctype with php!? Will I have to user a 3 liner in perl to set the doctype? :( Raph Raphael Bauduin wrote:
Hi, I'm generating XML files with the domxml functions. Everything works fine, but I can't set the <!DOCTYPE blah SYSTEM "my.dtd">. I tried to add a textnode, but <>" are translate in &lt; &gt; &quot; :( Thanks for your help. Raph PS:Having some troubles to send on the ML, I send this through the news server (excuse if you get my request two times)


« previous php.general (#117416) next »