George Goodyer wrote:
> ...
> :
> I can read the file yes but I would like the screen output to be something
> along the
> lines of
> " Error [code:2] [URI:arg:/_xmlinput] [line:1]
> XML parser error 3: no element found "
>
> I have tried options like setting the handle - tried to explicitly to
> reffer to stdout etc.
> I have had no joy .
> I don't have problems with the product I simply was hoping for advice
> as to
> how I could do the error reporting in the correct manner .
> It's more a pre-emtive messure to assist fellow deveopers with accurate
> error reporting , should they upload faulty XML/XSL.
> Is this do to the install or is this a PHP problem ?
According to PHP manual (http://www.php.net/manual/en/ref.xslt.php)
there is a way to get error mesages. Look at xslt_error function.
> Should my question be of no relavence to the group - sure , let me know .
You can try some PHP oriented group as well, but your question IS
relevant for Sablot/PHP users. We would appreciate if you post here any
info found elsewhere on this topic.
Regards,
Petr
--
Petr Cimprich
Ginger Alliance Ltd.
www.gingerall.com