[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.
 




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