This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
to extract the longest string.
- To: xsl-list at mulberrytech dot com
- Subject: to extract the longest string.
- From: "C.V. Radhakrishnan" <cvr at md2 dot vsnl dot net dot in>
- Date: Sat, 19 Aug 2000 17:41:43 +0530 (IST)
- Reply-To: xsl-list at mulberrytech dot com
> From: Jeni Tennison <mail@jenitennison.com>
>I love academic exercises ;) Actually this didn't turn out to be as messy
> as I thought it was going to be...
> If $longest is longer than $current, then we want to return the $longest
> string; if $current is longer than $longest, then we want to return the
> $current string.
"> So in effect calling this template on the second row
> element returns the longest result from all the rest of the rows,"
Would you please explain to me how calling this template on the second row
element returns the longest result from all "the rest of rows" and how
the recursion is working in that place?
Thanks
Rajagopal
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list