Re: [xsl] Breaking from the loop (for-each or apply-template)

Subject: Re: [xsl] Breaking from the loop (for-each or apply-template)
From: Oleg Konovalov <olegkon@xxxxxxxxx>
Date: Fri, 12 Aug 2005 14:41:27 -0400
I tried that (just as you recommended) and nothing is happening at all.
I didn't put that in any kind of loop, if or when.
We use Xalan 2.3.1 and Cocoon 2.0.4, is "message" tag not supported ?

What might be going on ?

Thank you,
Oleg.

On 8/12/05, Kenneth Stephen <marvin.the.cynical.robot@xxxxxxxxx> wrote:
> Oleg,
>
>     If you really really want to stop execution dead in its tracks,
> use <xsl:message terminate="yes">Place your message here</xsl:message>
> . I have to warn you that the actual output the user sees in this case
> will not be very user friendly - especially if your XSLT processor is
> Xalan.
>
> Regards,
> Kenneth
>
> On 8/12/05, Oleg Konovalov <olegkon@xxxxxxxxx> wrote:
>
> >
> > But that Date is extremely important to business, so what I am
> > trying to do is to break out of creating insert and show the
> > user an error message to fix XLS file.

Current Thread