xsl-list
[Top] [All Lists]

RE: [xsl] saxon:try()

2008-01-04 04:14:51

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(_dot_)tverskov(_at_)gmail(_dot_)com 
[mailto:jesper(_dot_)tverskov(_at_)gmail(_dot_)com] On Behalf Of Jesper 
Tverskov
Sent: 04 January 2008 10:21
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>