[xslt] xslt error message
- From: "Kaarle Kaila" <kaarle kaila fi>
- To: <xslt gnome org>
- Subject: [xslt] xslt error message
- Date: Wed, 28 Dec 2005 13:29:43 +0200
hi,
I cannot get an error message from libxslt. I would be very gratefull for
some advice in this!
I have this code:
------------
res = xsltApplyStylesheet(cur,doc,pars);
if (res == NULL) {
xmlErrorPtr errx;
errx = xmlGetLastError();
...................
}
--------
It works ok as long as the transformation succeeds but when an error occurs
in the transformation
then the function xsltApplyStylesheet returns NULL
and also xmlGetLastError() returns NULL and I don't get any error message.
Is there a function liks xsltGetLastError() or how should I be abel to
display the reson of the failure??
regards
Kaarle Kaila
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]