[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: Is xsl:for-each "syntactic sugar"?

Subject: Re: RE: Is xsl:for-each "syntactic sugar"?
From: Kendall Shaw <kshaw@xxxxxxxxxxxxxxx>
Date: Fri, 07 May 2010 17:04:57 -0700
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.