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

xsl:variable with a xsl:call-template

Subject: xsl:variable with a xsl:call-template
From: "Joeri Belis" <joeri.belis@xxxxxxxxxxxx>
Date: Fri, 30 Apr 2004 10:33:03 +0200
xsl call template variable
When i define a xsl:variable using a xsl:call-template, is the call-template
applied every time
i use this xsl:variable or just ones when i define the xsl:variable?

ex.

<xsl:variable name="unique-dates">
<xsl:call-template name="template_unique-dates">
<xsl:with-param name="doc" select="document($xmldata)"/>
</xsl:call-template>
</xsl:variable>
...
<xsl:template match="root">
run 1
<xsl:value-of select="$unique-dates"></xsl:value-of>
run 2 <!-- do i call template_unique-dates again or not ????? -->
<xsl:value-of select="$unique-dates"></xsl:value-of>
</xsl:template>
<!-- ********************************************* -->

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.