[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE: Is xsl:for-each "syntactic sugar"?
Liam R E Quin <liam@xxxxxx> writes: > On Fri, 2010-05-07 at 18:34 -0400, Costello, Roger L. wrote: > Yes, I agree hat you believe that. If I found a hat that agrees with me, it would be believe anything. "Costello, Roger L." <costello@xxxxxxxxx> writes: > ---------------------------------------------- > IMPLEMENTATION #1: Uses Recursive Function > ---------------------------------------------- ... > <xsl:function name="ex:Balance"> ... > </xsl:function> > -------------------------------------------------------------------------- > IMPLEMENTATION #2: Uses xsl:apply-templates to Recursively Fire a Template > -------------------------------------------------------------------------- ... > <xsl:template match="Transaction"> ... > </xsl:template> I don't follow what distinction you are making between the 2 implementations. They both have essentially the same structure. Maybe you are discussing the idea that you can't accumulate a value using reassignment in a loop in a functional language. Then there the distinction between a functional call (or using call-template) and using apply-templates. But, this doesn't seem to be about push vs. pull processing. Kendall
|
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
|