Subject: [xsl] variable not found From: "Z W" <mpc8250@xxxxxxxxx> Date: Thu, 27 Mar 2008 00:40:02 -0700 |
Hi What did I do wrong here ? Is there a workaround to this ? xslt3_summary: [xslt] Processing omacm.jtl to reporting.html [xslt] Loading stylesheet summary_v3.xsl [xslt] v3.xsl:424: Fatal Error! XPath syntax error at char 9 on line 424 in {$timeSpan}: [xslt] Variable $timeSpan has not been declared <xsl:template name="currentJTLDetail"> <xsl:for-each select="document($currentJTL)/testResults/*[not(@label = preceding::*/@label)]"> <tr> <xsl:variable name="timeSpan" select="$maxTimeStamp_prev - $minTimeStamp_prev" /> </xsl:for-each> <td> <xsl:call-template name="display-seconds"> <xsl:with-param name="value" select="$timeSpan" /> </xsl:call-template> </td> </tr> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do I write this in xs, Colin Adams | Thread | Re: [xsl] variable not found, Mukul Gandhi |
Re: [xsl] How do I write this in xs, Colin Adams | Date | [xsl] for-each issue, Z W |
Month |