Re: [xslt] ParserCtxt for xslt parsing
- From: "Richard Jinks" <cyberthymia yahoo co uk>
- To: <xslt gnome org>
- Subject: Re: [xslt] ParserCtxt for xslt parsing
- Date: Thu, 26 Jun 2003 14:20:37 +0100
Hi Jean
There is an equivalent XSLT function, xsltSetGenericErrorFunc() in
xsltutils.c
http://xmlsoft.org/XSLT/html/libxslt-xsltutils.html#xsltSetGenericErrorFunc
Hope this helps,
Richard
----- Original Message -----
From: "Jean Senellart" <senellart@systran.fr>
To: <xslt@gnome.org>
Sent: Thursday, June 26, 2003 11:01 PM
Subject: [xslt] ParserCtxt for xslt parsing
>
> Hi,
>
> I do not find how I can set a error handler for parsing xslt file
(xsltParseStylesheetFile), i.e the equivalent of the following for the
parsing xml file (xmlParseFile):
>
> xmlParserCtxtPtr xmlctxt = xmlCreateFileParserCtxt(XmlDoc.c_str());
> xmlSetGenericErrorFunc(xmlctxt,xml_error);
> xmlParseDocument(xmlctxt);
> doc=xmlctxt->myDoc;
>
>
> is there something equivalent existing?
>
> I want also to report that the following link is broken:
>
http://www.xmlsoft.org/html/libxml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT
> it is the result of Search(Only the APIs): xmlCreateFileParserCtxt
>
> thanks,
> Jean S.
>
>
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]