RE: [xsl] saxon:try()

Subject: RE: [xsl] saxon:try()
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 4 Jan 2008 11:14:21 -0000
No, XSLT 2.0 offers no try/catch functionality. The WG tried to specify such
a capability but it proved too complicated.

Clearly I think that try/catch is a very valuable capability to have when
you are building serious applications, and well worth paying for!

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


> -----Original Message-----
> From: jesper.tverskov@xxxxxxxxx 
> [mailto:jesper.tverskov@xxxxxxxxx] On Behalf Of Jesper Tverskov
> Sent: 04 January 2008 10:21
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] saxon:try()
> 
> hi list
> 
> Is there any way in pure XSLT 2.0 that we can make our own 
> function similar to saxon:try() only available for the SA 
> version of Saxon.
> 
> I want to do many transformations from inside the stylesheet, 
> and if a transformation fails I want the stylesheet to 
> continue with the next transformation.
> 
> Cheers,
> Jesper Tverskov
> http://www.xmlplease.com

Current Thread