Javier Muniz wrote:
>
> In my experience this is caused by an error in your .xsl... not exactly
> the most verbose error so I don't know what's actually happening here.
>
> -jm
>
Yup, it is, to correct this, place the following function in your xslt
document::
function report_xslt_error($parser, $code, $level, $messages)
{
echo "Parser: $parser";
echo "\n<br>\n";
echo "Code: $code";
echo "\n<br>\n";
echo "Level: $level";
echo "\n<br>\n";
echo "Messages: ";
echo "\n<br>\n";
var_dump($messages);
}
And then before the xslt_run() function call place the following::
xslt_set_error_handler($parser, 'report_xslt_error');
And you will see a verbose listing of the errors.
Or you can upgrade to the latest cvs which output's a correct error!
-Sterling
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]