xsl-list
[Top] [All Lists]

Re: [xsl] saxon:try()

2008-01-04 08:10:20
"Michael" == Michael Kay <mike(_at_)saxonica(_dot_)com> 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

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