Re: xml encodeing with new_xmldoc("1.0");

From: Date: Mon, 30 Sep 2002 13:38:59 +0000
Subject: Re: xml encodeing with new_xmldoc("1.0");
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-118204@lists.php.net to get a copy of this message
Hello, On 09/30/2002 09:54 AM, Föíö Öxî‰êójînyóon wrote:
I need to apply iso-8859-1 encodeing to the <?xml version=”1.0”?> that this function creates: new_xmldoc(“1.0”). I tried to replace the line but ofcourse the new_xmldoc function creates object-tree of the document and I don’t know I can reffrer to the first line, or <?xml version=”1.0”?> or just create the document with the encodeing
That is odd there is no way to set the output encoding. Anyway, if you are looking for a way to generate nicely formatted XML documents that let you set the encoding character set, you may want to take a look at this class. Just specify the outputencoding that you want: http://www.phpclasses.org/xmlwriter -- Regards, Manuel Lemos

« previous php.general (#118204) next »