I am working on a program that uses Xalan to perform
an XSLT transformation and right now the contents of
any <xsl:message> elements are going to stderr. My
app has a tracing and logging facilities so I would
prefer to redirect to those.
You should set an ErrorListerner on the Transformer. AFAIK the <xsl:message>
will be reported by Xalan as a warning.
[http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/Transformer.html#
setErrorListener(javax.xml.transform.ErrorListener)]
Best Regards,
George
-------------------------------------------------------
George Cristian Bina mailto:george(_at_)oxygenxml(_dot_)com
<oXygen/> XML Editor - http://www.oxygenxml.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list