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

Re: What's your visual metaphor for XSL Transformation

Subject: Re: What's your visual metaphor for XSL Transformations?
From: "Rashmi Rubdi" <rashmi.sub@xxxxxxxxx>
Date: Thu, 29 Mar 2007 21:25:13 -0400
Re:  What's your visual metaphor for XSL Transformation
I'm sorry to reply this late, but thanks for the Stack metaphor, it's
definitely helps in visualizing recursion, perhaps that is how
recursive methods are called internally.

I was trying to refresh my memory on Binary Trees and came accross this site:
http://www.oopweb.com/Algorithms/Documents/PLDS210/VolumeFrames.html

In Chapter 15, theres a nice explaination on Recursion

I especially find this statement quite useful

".... if a data structure may be defined recursively, it may be
processed by a recursive function ..."

At the bottom the chapter explains the "Termination condition".

Some of the valuable things taught in school are hardly encouraged or
even recognized in the fast-paced business world :-( .

-Rashmi


On 3/24/07, Florent Georges <darkman_spam@xxxxxxxx> wrote:
Mukul Gandhi wrote:


> If you understand how stack works, you can easily visualize > recursion.

 I think this is pretty true for the general case.  One well-known
exception to this (there are maybe others, but I don't know them) is
the tail-recursion.

 If the recursive call of your recursive function (or template, or
method or whatever) is at the very end of the function's body, there is
an optimisation opportunity.  The processor can reuse the stackframe
instead of pushing a new one at the top of the stack (depending maybe
on some rewritings of the code, I don't know).

Regards,

--drkm

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

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-2007 All Rights Reserved.