xsl-list
[Top] [All Lists]

Re: [xsl] Recursive call trouble

2006-08-10 10:25:08
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

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