I think the only way is to put the whole xml into a string and replace the first line
Davíð Örn Jóhannsson wrote: >Thanks but I found out what it was I just had to enable some dll's in >the php.ini on my test enviroment. > >But You wouldn't have any Idea how to set encoding="iso-8859-1" whene >you >Have created a new_xmldoc with new_xmldoc("1.0"); > >Thanks for your time. > >-----Original Message----- >From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] >Sent: 27. september 2002 16:28 >To: PHP >Subject: Re: [PHP] FW: problem with new_xmldoc() > >That's likely an old name, look at the docs > >Davíð Örn Jóhannsson wrote: > > > >>Don't know it's a just downloaded the win32 binary package >> >>-----Original Message----- >>From: Marek Kilimajer [mailto:[EMAIL PROTECTED]] >>Sent: 27. september 2002 15:58 >>To: PHP >>Subject: Re: [PHP] FW: problem with new_xmldoc() >> >>What does php_info() say, was php compiled --with-dom >> >>Davíð Örn Jóhannsson wrote: >> >> >> >> >> >>>I ran into a problem using new_xmldoc() function I just set up PHP v >>>4.2.3 because the 4.0.1. version resulted: >>>Fatal error: Call to undefined function: new_xmldoc() >>> >>>and so dose the new version v.4.2.3 >>> >>>Any Ideas?? >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php