[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:for-each evaluator?
If you have: <xsl:for-each select="$someExpression"> . . . </xsl:for-each> Then the number of times the body of the xs:for-each element will be evaluated is: count($someExpression) The speed of finding count($someExpression) should be proportional to the length of $someExpression. In case you were asking about the time it would take to evaluate the xsl:for-each, the answer is that this in general is impossible to predict -- there is a theorem in the theory of Algorithms (about universal functions, I think), which states that in general it is impossible if a computation is going to terminate. ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL "Corey Wilson" <corey@xxxxxxxxxxxxxxxxxxxxxx> wrote in message news:000501c33046$7cb86890$7501a8c0@xxxxxxxx > Does anyone know of a program that will evaluate an xsl:for-each loop to > tell the number of computations the loop is doing? Or the speed of the > algorithm (ie O(n log n) ...). > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|