[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: Florent Georges <darkman_spam@xxxxxxxx>
Date: Sat, 24 Mar 2007 20:03:52 +0100 (CET)
Re:  What's your visual metaphor for XSL Transformation
Mukul Gandhi wrote:

  Hi

> I think recursion is implemented (by compiler / interpreter / or,
> XSLT
> processor) using some kind of stack.
> 1) Each time a method is called, the method is pushed on the stack.
> 2) Each time the method returns, the method is popped off the stack.
> 3) If a method calls itself recursively, another copy of the method
> is
> pushed onto the stack.

> 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





















	

	
		
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com

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