Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
230
PHP XSLT Function xslt_error
PHP Version: PHP 4 >= 4.0.3
Description
This function returns the
description of last error occurred on xslt processor.
Usage:
mixedxslt_error ( resource xh)
This function returns a
string describing the last error that occurred on the passed XSLT processor.
During processing by xslt processing, if any error
occurs then the details of the error can be displayed by using this method.
PHP
Code:
In the below example, the xsl does not exist so the error description will be
displayed by using xslt_error function.