[PHP-DOC] #20794 [Bgs->Opn]: xsl:output not affecting output correctly From: derick <email protected>
Date: 12/03/02

 ID: 20794
 Updated by: derick <email protected>
 Reported By: verx <email protected>
-Status: Bogus
+Status: Open
-Bug Type: DOM XML related
+Bug Type: Documentation problem
 Operating System: Linux, FreeBSD
 PHP Version: 4.3.0RC2
 New Comment:

Let's make it a Doc problem then

Previous Comments:
------------------------------------------------------------------------

[2002-12-03 11:44:45] chregu <email protected>

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

------------------------------------------------------------------------

[2002-12-03 11:34:58] verx <email protected>

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

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php