PHP 忒聊
綴豖
ヶ輛
xslt_error
(PHP 4 = 4.0.3)
Description
Return a string describing the last error that occured on the passed XSLT processor.
瞰赽 1. Handling errors using the xslt_error() and xslt_errno() functions.
?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)));} print($result); xslt_free($xh);?
綴豖
れ萸
ヶ輛
xslt_errno
奻珨撰
xslt_free