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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ramaral at almedina dot net
New email:
PHP Version: OS:

 

 [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: Tue Apr 16 07:01:29 2024 UTC