Subject: Re: [xsl] xsl:variable with a xsl:call-template From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 30 Apr 2004 10:13:23 +0100 |
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 once when i define the xsl:variable? One of those, or perhaps never, if the variable isn't actually used. Different systems will take different stategies. As an xslt programmer you are not supposed to care. the call-template is unlikely to be an issue though you could ask teh same question about <xsl:variable name="x" select="1+2"/> how often is the addition done? David -- The LaTeX Companion http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996 http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804 ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl:variable with a xsl:call-, Joeri Belis | Thread | [xsl] Grouping problem - Duplicates, Sarah |
[xsl] xsl:variable with a xsl:call-, Joeri Belis | Date | [xsl] Grouping problem - Duplicates, Sarah |
Month |