I'm in process of creating XSLT transformation. My source XML contains element Order with attribute InstrumentType:
<Order InstrumentType="FWD">
Now, as part of transformation process I have to use the attribute value in condition like:
<xsl:if test="$InstrumentType='SPOT'">
...
</xsl:if>
I'm looking for some way to get the attribute value into InstrumentType variable in XSLT. Will appreciate your help.
@InstrumentTypedirectly? - Tomalak<xsl:variable name="InstrumentType" select="@InstrumentType" />- JLRishe