In this step, you will conditional hide the dropdowns using different techniques.
Note: Select the class property value and then use the XPath editor to enter #CLASSHIDE. |

key('field-value', 'CLASSHIDE') 
Note: The field name must be entered in upper case. |
<xsl:if test="test"> code to be hidden </xsl:if><xsl:if test="key('field-value', 'XSLIF') != 'HIDE'">
<xsl:call-template name="std_dropdown"> <xsl:with-param name="name" select="concat('o', position(), '_LANSA_28762')" /> </xsl:call-template></xsl:if>
<xsl:if with the > character, the end if (</xsl:if>) will be generated. Move the "end if" logic after the </xsl:call-template>.Note: If you click on the Design tab or try to save your XSL while your xsl changes contain errors, the errors will be reported on the Go To tab as shown in this example. In this case, there is a missing double quote at the end of the test condition. |




