ID:               20794
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [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] [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] [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

Reply via email to