[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Handler for xsl:message in Java?
It depends on the XSLT product you are using. Recent versions of the JAXP spec actually say that xsl:message output should go to the ErrorListener, but Saxon has never implemented that (the JAXP spec has a nasty habit of changing the rules at each new version). Saxon has its own MessageEmitter interface which predates that change. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Markus [mailto:markus01@xxxxxxxxx] > Sent: 06 January 2006 12:47 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Handler for xsl:message in Java? > > Hi > > Is it possible to specify a handler for xsl:message in java > (especially for non-terminating messages)? > We use xslt in a larger framework where I want to put warnings from a > stylesheet to a logger (instead of stdout). > ErrorListener does not work, or is this my fault? > > Thanks, > > Markus Reinsch
|
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
|