xsl-list
[Top] [All Lists]

Re: [xsl] writing error file

2006-09-21 06:36:03
> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>