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

Re: saxon:try()

Subject: Re: saxon:try()
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Fri, 4 Jan 2008 12:04:48 +0100 (CET)
Re:  saxon:try()
Jesper Tverskov wrote:

  Hi

> 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.

  Unfortunately not.  Exception handling is really something
that lacks in XSLT.  I would really like if that was
standardized.  I have some ideas on that subject there:

    http://www.fgeorges.org/xslt/error-safe/error-safe.html

> 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.

  I implemented those ideas there:

    http://www.fgeorges.org/xslt/error-safe/

  But this is far from production-quality.  This is very
experimental.  But as first glance, as this is to catch
errors from saxon:transform(), that could helps (the
complexity is caused by rewritings, and I guess expressions
using saxon:transform() or very unlikely to be rewritten).

  And that was not adapted to Saxon 9.

  Regards,

--drkm

























      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.