Thanks for helping - Where would i find the input xml
i found that i can't find the value of the objects syntax because
if i test like below then it works
Code:
<xsl:iftest="@name='VE1060NewSupplier'">
<xsl:iftest="Tooltip != ''">
but when i try to filter on value
Code:
<xsl:iftest="@name='VE1060NewSupplier'">
<xsl:if test="@value='No'"> <!-- <xsl:if test="value='No'"> -->
Code:
<xsl:call-templatename="CreateObject">
<xsl:with-paramname="Object"select="." />
</xsl:call-template>
<xsl:iftest="@name='VE1060NewSupplier'">
<!--<xsl:if test="@value='No'"> -->
<xsl:iftest="Tooltip != ''"><xsl:value-ofselect="Tooltip" />
<iframeframeborder="no"name="iframe1"src="http://www.supersport.com"/>
</xsl:if>
</xsl:if>
drop down object
Code:
<!-- Drop downs, lookups, etc -->
<xsl:templatename="ListValueType">
<xsl:paramname="Name" />
<xsl:paramname="Attributes" />
<xsl:paramname="Options" />
<xsl:paramname="Value" />
<xsl:elementname="asp:dropdownlist">
<xsl:attributename='id'><xsl:value-ofselect='$Name' /></xsl:attribute>
<xsl:attributename='runat'>server</xsl:attribute>
<xsl:for-eachselect="$Attributes/Attribute">
<xsl:attributename='{@name}'><xsl:value-ofselect='.' /></xsl:attribute>
</xsl:for-each>
<xsl:for-eachselect='$Value/Options/Option'>
<xsl:elementname="asp:ListItem">
<xsl:attributename='Value'><xsl:value-ofselect='.' /></xsl:attribute>
<xsl:iftest="@selected[. = 'true']"><xsl:attributename='selected'>true</xsl:attribute></xsl:if>
<xsl:value-ofselect='.' />
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:template>