note 36536 rejected from function.xslt-error by betz
| From: | betz@php.net | Date: | Wed, 15 Oct 2003 00:17:12 +0000 |
| Subject: | note 36536 rejected from function.xslt-error by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58598@lists.php.net to get a copy of this message | ||
Note Submitter: wallaschek@itmagic.de
----
Regrettably, if your XSLT or XML is buggy and you get an error, the error string returned from
xslt_error will show what error has been found, but not where it has been found.
In case this is not obvious, it might be worth to save your xml and xslt (if not already available
as files) and run them manually through sabcmd (which is the command line version of sablotron) or
any other command line processor. There you'll get more information like the file causing
trouble (xml or xslt) and the line-number.
I wonder why this is missing in the result of xslt_error.