[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Where are xsl:messages sent in JAXP?

Subject: RE: Where are xsl:messages sent in JAXP?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 23 Sep 2004 17:04:05 +0100
xsl message jaxp
> I would like to use the xsl:message feature to send
> progress information back to a Swing UI while my XSL
> is performing a transformation.  I was wondering if I
> could hook my client code into the XSL Transform
> object to receive messages sent from the XSL using
> xsl:message?
> 
> I think I know the answer to this one, but is there a
> way to hook the Transform API so I can ask for user's
> input while transforming their document?  

JAXP 1.2 doesn't define what happens to xsl:message. I believe Xalan sends
it to the warning() method of the ErrorListener (I'm not sure in what
format). Saxon allows you to specify a MessageEmitter using a non-JAXP
interface.

I think that JAXP 1.3 endorses the Xalan mechanism.

Remember that the order in which messages are written is
implementation-defined.

Michael Kay
http://www.saxonica.com/

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.