Subject: Re: [xsl] Order of call-template From: Michael Kay <mike@xxxxxxxxxxxx> Date: Fri, 22 Jun 2012 17:42:30 +0100 |
<xsl:variable name="i"> <incode> <xsl:call-template name="getIncode"> <xsl:with-param name="zip" select="'10001'"/> <xsl:with-param name="id" select="2"/> </xsl:call-template> </incode> </xsl:variable>
<xsl:variable name="o"> <outcode> <xsl:call-template name="getOutcode"> <xsl:with-param name="zip" select="'10001"/> <xsl:with-param name="id" select="1"/> </xsl:call-template> </outcode> </xsl:variable>
Michael Kay Saxonica
I have the following code in my xslt. Will it guarantee the first call-template to be executed before the second one?
<outcode> <xsl:call-template name="getOutcode"> <xsl:with-param name="zip" select="'10001"/> <xsl:with-param name="id" select="1"/> </xsl:call-template> </outcode> <incode> <xsl:call-template name="getIncode"> <xsl:with-param name="zip" select="'10001'"/> <xsl:with-param name="id" select="2"/> </xsl:call-template> </incode>
Thanks!
Ming
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Order of call-template, Andrew Welch | Thread | Re: [xsl] xsl:include, David Carlisle |
Re: [xsl] Order of call-template, Andrew Welch | Date | [xsl] Xpath Syntax Issue, Nathan Tallman |
Month |