Re: Re: Re: Is there a way to catch Exceptions in xslt thro wn from calling a Java function within Xalan ?2004-03-01 14:42:41Bill Riegel wrote: I needed to know if an exception is thrown by Java code, can you catch it inxslt without the entire Transformation being terminated ? Set the xml/string that goes back to the transformation in the 'catch' String xmlStr = null; try{ xmlStr = "<success/>" } catch (..) { xmlStr = "<failure msg='blah blah'/>" } best, -Rob Bill Riegel LandMark Graphics 713-839-3388 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|