I have a problem outputing a node list variable
Posted: Sun Sep 24, 2006 1:48 pm
I have a problem outputing a node list variable from this template:
This does not output SeriesData as I expect it too. In the oxygen debugger, it shows a populated node-set at the xsl:value-of point. All I get is an empty graph element. If I don't put the node set into a variable, it comes out fine.
Can anyone help please?
Thanks,
Alan
Code: Select all
<xsl:template name="OutputGraphXML">
<xsl:param name="GraphData"/>
<xsl:variable name="SeriesData">
<xsl:call-template name="TableDataToGraphingSeries">
<xsl:with-param name="TableData">
<xsl:value-of select="$GraphData"/>
</xsl:with-param>
</xsl:call-template>
</xsl:variable>
<xsl:element name="graph">
<xsl:value-of select="$SeriesData"/>
</xsl:element>
</xsl:template>
This does not output SeriesData as I expect it too. In the oxygen debugger, it shows a populated node-set at the xsl:value-of point. All I get is an empty graph element. If I don't put the node set into a variable, it comes out fine.
Can anyone help please?
Thanks,
Alan