IBM WebSphere DataPower Community Forum IBM Webspere DataPower XI50
October 12, 2008, 02:08:06 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: IBM WebSphere DataPower SOA Appliance Forum - Just Launched come share your knowledge!!! These forums will be a great place to build a community. This site is not associated with IBM.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Lazy Evaluation in DP  (Read 239 times)
fwaris
Newbie
*
Offline Offline

Posts: 3


View Profile Email
« on: February 06, 2008, 10:01:48 AM »

I understand that like many functional languages (e.g. Lisp) XSLT evaluation is performed lazily.

In DP specifically is there a way to force evaluation?

For example, compare:

A: <xsl:variable name="var" select="[some expression]" />

with:

B:
<xsl:variable name="var">
   <xsl:copy-of select="[some expression]" />
</xsl:variable>

Will B force evaluation such that subsequent access to $var will not cause the expression to be re-evaluated?

Thanks,

Faisal
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  



Powered by SMF | SMF © 2006-2007, Simple Machines LLC
Seo4Smf © Webmaster's Talks
This Site is not associated with IBM