xslt_error
    (PHP 4 >= 4.0.3, PECL)
xslt_error -- カレントのエラー文字列を返す
説明
string 
xslt_error ( resource xh )
     指定したXSLTプロセッサで発生した直近のエラーを説明する文字列を返
     します。
    
例
例 1. 
       関数xslt_error()および
       xslt_errno()を用いてエラーを処理する
      
<?php
  $xh = xslt_create(); $result = xslt_process($xh, 'dog.xml', 'pets.xsl'); if (!$result) {     die(sprintf("Cannot process XSLT document [%d]: %s",                 xslt_errno($xh), xslt_error($xh))); }
  echo $result;
  xslt_free($xh); ?>
 |  
  |