php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #19067 XML declaration at domxml_new_doc function
Submitted: 2002-08-23 07:14 UTC Modified: 2002-08-23 10:11 UTC
From: ramaral at almedina dot net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.2.2 OS: Linux
Private report: No CVE-ID: None
 [2002-08-23 07:14 UTC] ramaral at almedina dot net
It's impossible to define encoding and other XML information with the domxml_new_doc() function!
I've problems with that because i must use encoding="ISO-8859-1" on the dynamically generated XML string to proccess with xslt!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-23 10:11 UTC] chregu@php.net
Hi

You can define the encoding, when you "dump" the Document:
http://ch.php.net/manual/en/function.domdocument-dump-mem.php

chregu
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC