Re: [xslt] Catch xslt stdout errors



Hi again,

I have succesfully caught stderr error and debug messages and write then
to a file using the functions you have suggested:
	xsltSetGenericErrorFunc(log_file,NULL);	
	xsltSetGenericDebugFunc(log_file,NULL);	

but now a warning message still appears when an error occurs, I do not
see in xsltutils.h any function specific to catch warnings... is it
possible?

thanks in advance

esther

El lun, 31-05-2004 a las 22:21, Daniel Veillard escribió:
> On Mon, May 31, 2004 at 10:55:28AM +0200, Esther Parrilla Endrino wrote:
> > Hi,
> > 
> > I would like to know if there is a way to catch the XSLT error that I
> > get from the standard output when an error in a transformation occurs,
> > and write it to a log file.
> 
>   use xsltSetGenericErrorFunc() from xsltutils.h
> 
> Daniel
> 
> -- 
> Daniel Veillard      | Red Hat Desktop team http://redhat.com/
> veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
> http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt gnome org
> http://mail.gnome.org/mailman/listinfo/xslt
> 
-- 


~ Code matters more than comercials ~

--



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]