#20794 [Opn->Bgs]: xsl:output not affecting output correctly
| From: | chregu@php.net | Date: | Tue, 03 Dec 2002 17:44:45 +0000 |
| Subject: | #20794 [Opn->Bgs]: xsl:output not affecting output correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26540@lists.php.net to get a copy of this message | ||
ID: 20794
Updated by: chregu@php.net
Reported By: verx@implix.com
-Status: Open
+Status: Bogus
Bug Type: DOM XML related
Operating System: Linux, FreeBSD
PHP Version: 4.3.0RC2
New Comment:
Use
$xsldoc = domxml_xslt_stylesheet_file($filename);
$result = $xsldoc->process($xmldoc[,$params]);
$xsldoc->result_dump_mem($result);
(or $xsldoc->result_dump_file($result,$filename);)
to get what you want.
(undocument, AFAIK...)
chregu
Previous Comments:
------------------------------------------------------------------------
[2002-12-03 11:34:58] verx@implix.com
LibXML 2.4.28, LibXSLT 1.0.23 (both the most recent).
<xsl:output method="html"/> is not working
properly. The output should follow w3c rules
(http://www.w3.org/TR/xslt#section-HTML-Output-Method)
but it doesn't.
However when using xsltproc (binary for testing transformations, it's
in LibXSLT package) output
is correct - that means that this is a PHP bug.
To be honest I think none of <xsl:output .../> attributes
is really working (like omit-xml-declaration or
cdata-section-elements).
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20794&edit=1