Re: [xsl] writing error file

Subject: Re: [xsl] writing error file
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Thu, 21 Sep 2006 16:38:50 +0300
> george:
>> You can get (in general) the output of the xsl:message but you need
>> processor specific code for that. Also this requires configuring the
>> processor in a specific way, thus you need to have control over the
>> transformation execution.
>
> what processor specific code would i need for that configuring?
>
>

For Saxon for instance you can register a MessageEmitter with something like:

transformerFactory.setAttribute(
            net.sf.saxon.FeatureKeys.MESSAGE_EMITTER_CLASS, 		
            "yourMessageEmitterClassName");

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Current Thread