note 81755 added to ref.xsl
| From: | emilise dot victor at gmail dot com | Date: | Wed, 12 Mar 2008 16:10:32 +0000 |
| Subject: | note 81755 added to ref.xsl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136971@lists.php.net to get a copy of this message | ||
Here is a way to get an output without using <xml:message> : use the var_dump function of php
:
- First bind the php functions with
<? $xslt->registerPHPFunctions() ?>
and xmlns:php="http://php.net/xsl" in the
stylesheet
- Then you can call the var_dump function like this : <xsl:variable name="a"
select="php:function('var_dump', $return)" />
I couldn't find a way to call the function and have it really print the result without creating
a variable, but well, it's just for debugging...
----
Server IP: 195.221.21.36
Probable Submitter: 81.57.181.180
----
Manual Page -- http://www.php.net/manual/en/ref.xsl.php
Edit -- https://master.php.net/note/edit/81755
Del: integrated -- https://master.php.net/note/delete/81755/integrated
Del: useless -- https://master.php.net/note/delete/81755/useless
Del: bad code -- https://master.php.net/note/delete/81755/bad+code
Del: spam -- https://master.php.net/note/delete/81755/spam
Del: non-english -- https://master.php.net/note/delete/81755/non-english
Del: in docs -- https://master.php.net/note/delete/81755/in+docs
Del: other reasons-- https://master.php.net/note/delete/81755
Reject -- https://master.php.net/note/reject/81755
Search -- https://master.php.net/manage/user-notes.php