|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How can I capture output from <xsl:message> for a log
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. I hooked up a TraceListener: TraceManager traceManager = ((TransformerImpl)transformer).getTraceManager (); traceManager.addTraceListener(new MyTraceListener ()); But this looks more like for debugging and I still saw the output from my <xsl:message>es in stderror. What I would really like is to be able to register a listener and have my listener called with the text output from each <xsl:message> so I can call into my tracing facility. Thanks, IL Ian __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






