[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How can I capture output from <xsl:message> for a
> 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@xxxxxxxxxxxxx <oXygen/> XML Editor - http://www.oxygenxml.com/ 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
|