Date: 12/10/02
- Next message: Wez Furlong: "[PHP-DOC] cvs: phpdoc /en/reference/openssl/functions openssl-pkey-get-public.xml"
- Previous message: Wez Furlong: "[PHP-DOC] cvs: phpdoc /en/reference/openssl reference.xml /en/reference/openssl/functions openssl-csr-export-to-file.xml openssl-csr-export.xml openssl-csr-new.xml openssl-csr-sign.xml openssl-error-string.xml openssl-free-key.xml openssl-get-privatekey.xml openssl-get-publickey.xml openssl-open.xml openssl-pkcs7-decrypt.xml openssl-pkcs7-encrypt.xml openssl-pkcs7-sign.xml openssl-pkcs7-verify.xml openssl-pkey-export-to-file.xml openssl-pkey-export.xml openssl-pkey-get-private.xml openssl-pkey-get-public.xml openssl-pkey-new.xml openssl-private-decrypt.xml openssl-x509-check-private-key.xml openssl-x509-checkpurpose.xml openssl-x509-export-to-file.xml openssl-x509-export.xml openssl-x509-free.xml openssl-x509-parse.xml openssl-x509-read.xml"
- Next in thread: verx <email protected>: "[PHP-DOC] #20794 [Opn]: xsl:output not affecting output correctly"
- Maybe reply: verx <email protected>: "[PHP-DOC] #20794 [Opn]: xsl:output not affecting output correctly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 20794
Updated by: chregu <email protected>
Reported By: verx <email protected>
Status: Open
Bug Type: Documentation problem
Operating System: Linux, FreeBSD
PHP Version: 4.3.0RC2
New Comment:
What's the problem with the solution I showed you?
It should exactly give you the output expected from <xsl:output
method="html">
you don't have to insert output parameters from php.
Although, you do need PHP4.3 ...
chregu
Previous Comments:
------------------------------------------------------------------------
[2002-12-03 15:03:25] verx <email protected>
IMHO it is not so perfect to insert output parameters from
application. However, the example you have given is working quite well
and that's what I wanted to achieve. On the other hand I think users
would appreciate having XSLT engine that is fully W3C compliant :)
I'm not into internals of PHP so my question is - is it very difficult
to make <xsl:output> working, or even - is it possible? :)
------------------------------------------------------------------------
[2002-12-03 12:04:01] derick <email protected>
Let's make it a Doc problem then
------------------------------------------------------------------------
[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
- Next message: Wez Furlong: "[PHP-DOC] cvs: phpdoc /en/reference/openssl/functions openssl-pkey-get-public.xml"
- Previous message: Wez Furlong: "[PHP-DOC] cvs: phpdoc /en/reference/openssl reference.xml /en/reference/openssl/functions openssl-csr-export-to-file.xml openssl-csr-export.xml openssl-csr-new.xml openssl-csr-sign.xml openssl-error-string.xml openssl-free-key.xml openssl-get-privatekey.xml openssl-get-publickey.xml openssl-open.xml openssl-pkcs7-decrypt.xml openssl-pkcs7-encrypt.xml openssl-pkcs7-sign.xml openssl-pkcs7-verify.xml openssl-pkey-export-to-file.xml openssl-pkey-export.xml openssl-pkey-get-private.xml openssl-pkey-get-public.xml openssl-pkey-new.xml openssl-private-decrypt.xml openssl-x509-check-private-key.xml openssl-x509-checkpurpose.xml openssl-x509-export-to-file.xml openssl-x509-export.xml openssl-x509-free.xml openssl-x509-parse.xml openssl-x509-read.xml"
- Next in thread: verx <email protected>: "[PHP-DOC] #20794 [Opn]: xsl:output not affecting output correctly"
- Maybe reply: verx <email protected>: "[PHP-DOC] #20794 [Opn]: xsl:output not affecting output correctly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

