|
Subject: [xsl] 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) |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Flagging for No records f, Jarno . Elovirta | Thread | RE: [xsl] How can I capture output , Michael Kay |
| Re: [xsl] recreating elements with , David Carlisle | Date | RE: [xsl] recreating elements with , Michael Kay |
| Month |