Re: [xsl] saxon:try()

Subject: Re: [xsl] saxon:try()
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Jan 2008 15:09:43 +0000
>>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:

    Michael> You can do it that way - treating a variable reference
    Michael> rather like a function call - but it gets difficult if
    Michael> one reference to a variable is inside a try/catch and
    Michael> another isn't (or is in a different try/catch). Do you
    Michael> catch the error twice?

I think if the two references are in two different try/catch
instructions, then yes, the same error should be caught twice.

If one reference is outside of a try/catch instruction, then it will
cause termination of the transformation, at that reference point.
Colin Adams
Preston Lancashire

Current Thread