I would like to replace the 'OrderCreate' with a parameter called myParam (sometimes the parameter will be "OrderCreate", sometimes "OrderChange").
Here's the code where the value is hardcoded - it works:
Here's the code where I'm trying not to hardcode the value -it doesn't work:
Is this possible to do? Thank you!
Here's the code where the value is hardcoded - it works:
Code:
<xsl:if test="(position() = last()) and contains(local-name(..),'OrderCreateProductLineItem')">
Here's the code where I'm trying not to hardcode the value -it doesn't work:
Code:
<xsl:if test="(position() = last()) and contains(local-name(..),'$MyParamProductLineItem')">
Is this possible to do? Thank you!