I have a lookup table of values and need to perform an action based on the result of the lookup.
For example the following code will return either Y or N
<xsl:call-template name="Lookup_MyLookup">
<xsl:with-param name="P_ID" select="name()"/>
<xsl:with-param name="P_Attr" select="'Include'"/>
</xsl:call-template>
How can I put this into a variable so that I can do one thing if Y and another if N?
I have tried using combinations of double and single quotes but I cant get it to work!!
For example the following code will return either Y or N
<xsl:call-template name="Lookup_MyLookup">
<xsl:with-param name="P_ID" select="name()"/>
<xsl:with-param name="P_Attr" select="'Include'"/>
</xsl:call-template>
How can I put this into a variable so that I can do one thing if Y and another if N?
I have tried using combinations of double and single quotes but I cant get it to work!!