Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: group and find relative Min value

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 6/4/2006 1:51:00 PM



Anthony Jones wrote:


> Have you ever tested the depth to which this sort recursion can be taken, is
> there a limit?

No, that will certainly depend on the implementation, in particular if 
it has optimations to avoid the recursion on the implementation level.

> Isn't the need to write such a monster for what elsewhere is a fairly basic
> (even intrinsic) function indicative the perhaps XSL isn't a good choice
> here?  XSL may form part of a useful solution but this sort of work should
> be done somewhere else surely?

I admit that using named template and XSLT to write recursive templates 
is clumsy and the code looks bloated compared to other solutions but you 
have to judge the advantages (pure XSLT solution) against the 
disadvantages of possible other solutions (e.g. processor dependent 
script extension).
So it depends on the requirements, if you know you are using a certain 
XSLT processor having a minimum extension function or access to script 
with such a function then you can certainly go for that solution. But I 
would not rule out some XSLT code only because some xsl:with-param or 
xsl:choose/xsl:when is a bit bloated.


-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent