xsl-list
[Top] [All Lists]

[xsl] variable not found

2008-03-27 00:40:26
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>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>