Subject: Re: [xsl] Breaking from the loop (for-each or apply-template) From: Kenneth Stephen <marvin.the.cynical.robot@xxxxxxxxx> Date: Fri, 12 Aug 2005 14:20:56 -0500 |
Oleg, I've never used Cocoon, but I can tell you that Xalan 2.5.1 and above (2.7 was released a few days ago) do support the xsl:message instruction. Regards, Kenneth On 8/12/05, Oleg Konovalov <olegkon@xxxxxxxxx> wrote: > 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Breaking from the loop (f, Oleg Konovalov | Thread | Re: [xsl] Breaking from the loop (f, Wendell Piez |
Re: [xsl] Breaking from the loop (f, Oleg Konovalov | Date | Re: [xsl] Breaking from the loop (f, Wendell Piez |
Month |