(PHP 4 >= 4.0.3)

xslt_error -- Returns an error string


mixed xslt_error ( resource xh)

Returns a string describing the last error that occurred on the passed XSLT processor.

Example 1. Handling errors using the xslt_error() and xslt_errno() functions.


= xslt_create();
$result = xslt_process($xh, 'dog.xml', 'pets.xsl');
if (!
$result) {
sprintf("Cannot process XSLT document [%d]: %s",
xslt_errno($xh), xslt_error($xh)));



Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples
  Copyright 2004 Evrsoft Developer Network. Privacy policy - Link to Us

Contact Evrsoft