As I said in another mail, see tricky Perl extension (Sablotron.xs).

We should provide an example later.

Pavel

Frank Vene wrote:

> Hi,
> 
> I need to log error that occurs while parsing or transforming XML content.
> I use the default message handler (see example below), but sometimes I 
> got some strange messages.
> 
>     int retCode;
> 
>     retCode = SablotRunProcessor(...);
> 
>     if( 0 != retCode ) { // an error occurred
> 
>         cerr << SablotGetMsgText(retCode) << endl;
> 
>     }
> 
> 
> So, I think I need to implement a message handler to handle my own 
> messages.
> 
> I try to implement a message handler looking at the shandler and sablot 
> header files but I cannot achieve it.
> Has someone developped a message handler? Could you send me an example?
> 
> Thanks in advance,
> Frank.


-- 
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic

Reply via email to