Subject: Re: [xsl] XSLT/XPath 2.0 (was "Identifying two tags...")|
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 14 May 2002 19:18:56 +0200
fine, one of the things that I think we should want is a little more control over our error responses, just like any other programming language offers, or at least most that I've seen. This allows us to build apps where xslt functions as the error handler, and the validation language functions as the error generator.
Something like trapping or catching excpetions. This would have some other interesting applications, in particular regarding document() and xsl:document. I don't think we'll get try/catch or "on error" in XSLT. For once I'm not sure how try/catch would be applied to parsing and validation errors, and "on error" is just not as compatible with a language using XML syntax as try/catch would be.