xsl-list
[Top] [All Lists]

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

2005-08-12 11:41:27
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(_dot_)the(_dot_)cynical(_dot_)robot(_at_)gmail(_dot_)com> 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(_at_)gmail(_dot_)com> 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.


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



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