Subject: [xsl] xsl:variable with a xsl:call-template From: "Joeri Belis" <joeri.belis@xxxxxxxxxxxx> Date: Fri, 30 Apr 2004 10:33:03 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Inserting White Space (&n, Passin, Tom | Thread | Re: [xsl] xsl:variable with a xsl:c, David Carlisle |
RE: [xsl] Inserting White Space (&n, Animesh Sharma | Date | Re: [xsl] xsl:variable with a xsl:c, David Carlisle |
Month |