thanks for your answer. I hoped there was a function to specify the doctype
of the document generated. Apparently there isn't. It's as sad thing as I
have to create another script just to add the doctype.
Can someone just confirm me it's not possible with php to do what I want?
I find it strange you can read the doctype but not set it.
Raph
Marek Kilimajer wrote:
> 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 .
>>>
>>>I tried to add a textnode, but <>" are translate in < > " :(
>>>
>>>
>>>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)
>>>
>>>
>>
>>
>>
>>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php