[xsl] Re: Is there a way to catch Exceptions in xslt thrown from calling a Java function within Xalan ?

Subject: [xsl] Re: Is there a way to catch Exceptions in xslt thrown from calling a Java function within Xalan ?
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Tue, 2 Mar 2004 09:05:18 -0500



As others have said: XSLT doesn't have the concept of throwing and catching
exceptions, so I think the easiest solution is to code a wrapper for your
Java function which catches the exceptions and returns them as values which
your stylesheet tests for and handles appropriately.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread