php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #29496 Output from XSL transformation should not contain xmlns=""
Submitted: 2004-08-02 18:20 UTC Modified: 2004-08-03 10:04 UTC
From: tony at marston-home dot demon dot co dot uk Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.0.0 OS: *
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:
42 + 43 = ?
Subscribe to this entry?

 
 [2004-08-02 18:20 UTC] tony at marston-home dot demon dot co dot uk
Description:
------------
I produce all my HTML output from XSL transformations and I do not bother with any namespaces, yet my output is clutterred with a lot of xmlns="" statements. If the namespace is null this statement should not be included in the output.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-03 10:04 UTC] chregu@php.net
Nothing wrong with that. And anyway not a PHP "bug" (libxslt does that)

You should use 
$xslproc->transformToXml($dom) and set the xsl:output method to "html", that maybe helps (didn't test it...) or not set any namespaces (not even "empty" ones).


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 09:01:32 2024 UTC