[xslt] error handling
- From: Raphael Vallazza <raphael caronte net>
- To: xslt gnome org
- Subject: [xslt] error handling
- Date: 10 Jul 2001 02:25:55 +0200
hi :)
i'm implementing a libxslt module for php and i've got problems with
error handling.
i have a structure like this:
struct xslt_processor {
xmlParserCtxtPtr xml_ctx;
xmlParserCtxtPtr xslt_ctx;
xsltStylesheetPtr xslt_stylesheet;
char *last_error;
}
xslt_processor->last_error should contain the concatenated errors (if
there where some ;) caused by parsing xml_ctx, xslt_ctx and the
stylesheet. This way i can call a function like
xslt_error(xslt_processor), that returns the last error of the
xslt_processor.
Is there a way to solve this problem? I with xsltSetGenericErrorFunc and
xmlSetGenericErrorFunc, but it didn't solve the problem.
thanx for your help,
raphael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]