#20794 [Bgs->Opn]: xsl:output not affecting output correctly

From: Date: Tue, 03 Dec 2002 18:04:01 +0000
Subject: #20794 [Bgs->Opn]: xsl:output not affecting output correctly
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350139@lists.php.net to get a copy of this message
ID: 20794 Updated by: derick@php.net Reported By: verx@implix.com -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@php.net 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@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

« previous php.doc (#969350139) next »