[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

Subject: How can I capture output from <xsl:message> for a log
From: Ian Lang <ianplang@xxxxxxxxx>
Date: Tue, 10 Feb 2004 16:06:06 -0800 (PST)
capture output
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.