Lets say I have an appconfig Foo.ShipDiscount that has a number like 10. I want to get that value and test for it in the receipt xml package
Obviously the above doesnt quite work, but what would work? How do I populate the variable from the appconfig and do it as a number?Code:<xsl:variable name="shipCouponAmount" select="number(receipt:EvalDecimal(aspdnsf:AppConfig('Foo.ShipDiscount'))" /> <xsl:if test="$shipCouponAmount > 0"> do some cool stuff here </xsl:if>
Thanks



Reply With Quote