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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
21 + 20 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon Apr 29 21:01:30 2024 UTC