Re: [xsl] Recursive call trouble

Subject: Re: [xsl] Recursive call trouble
From: Luke Jones <ljones@xxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Aug 2006 11:52:51 -0500
Thanks!! It's working perfect now.  The only thing that is isn't right
is a logic error.  Since I'm doing a sub-string of 60 chars, words are
getting chopped off.  Do you know of a way maintain whole words?

The first thing that pops into my mind is the sub-string after/before.
But I'm not sure if I can incorporated it into what I'm doing.  I'll
look into it some more though.

Thanks again,
Luke


On Thu, 2006-08-10 at 17:37 +0100, David Carlisle wrote:
> 
> put your recursive call in the xsl:otherwise branch not after the
> xsl:choose, otherwise you recurse even when you have finished and so
> never stop until you run out of java stack:
> 
> java.lang.StackOverflowError
> 
> David

Current Thread