Hello Everybody,
I've the following problem when I try to use parameter for create my listbox.
I call my template which get my listbox name as parameter:
<xsl:call-template name="DisplayFieldTemplate">
<xsl:with-param name="FieldDataListName">
<xsl:apply-templates select="//ListData/PriceList"/>
</xsl:with-param>
</xsl:call-template>
and then this "DisplayFieldTemplate" get my listbox name as a parameter 'FieldDataListName':
<xsl:template name="DisplayFieldTemplate" >
<xsl
aram name="FieldDataListName"/>
<td>
<xsl:value-of select="child::text/text()"/>
<xsl:apply-templates select="key ('Code',@FieldDataListName)"/>
</td>
</xsl:template>
The 'Code' is that section in my .xml which is contains the data for listbox.
When I try to display my stylesheet I can only see the emlements from the .xml but there's no listbox creating at all.
Can somebody tell me how should I handling this problem?
Thank you for every feedback in advance!
I've the following problem when I try to use parameter for create my listbox.
I call my template which get my listbox name as parameter:
<xsl:call-template name="DisplayFieldTemplate">
<xsl:with-param name="FieldDataListName">
<xsl:apply-templates select="//ListData/PriceList"/>
</xsl:with-param>
</xsl:call-template>
and then this "DisplayFieldTemplate" get my listbox name as a parameter 'FieldDataListName':
<xsl:template name="DisplayFieldTemplate" >
<xsl
<td>
<xsl:value-of select="child::text/text()"/>
<xsl:apply-templates select="key ('Code',@FieldDataListName)"/>
</td>
</xsl:template>
The 'Code' is that section in my .xml which is contains the data for listbox.
When I try to display my stylesheet I can only see the emlements from the .xml but there's no listbox creating at all.
Can somebody tell me how should I handling this problem?
Thank you for every feedback in advance!