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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tony at marston-home dot demon dot co dot uk
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Oct 31 23:01:28 2024 UTC