XML : If PromotionType contains the word "Discount " but not "Discounted"

hi i need help on xslt sample xml is given below.
0 Discount
12 64 0
0 Discounted Price 6 0 0
0 Discount ATT-V5-HSIA-ULT-AI-VOIP-A 12 64 0
0 Discount + Reward Card or Amazon Prime 6 0 0

0 Discount + Reward Card or Amazon Prime 6 0 0
0 Discount or Device
12 64 0
0 Discounted Price 6 0 0
0 Free Product 3 0 0
0 Free Product 3 0 0 140 Monthly No term commitment required. 199 189 12 24

      If PromotionType contains the word "Discount " but not "Discounted"       then i need to display offer/StandardFees/DiscountedFee else      Offer/StandardFees/Fee. any help highly appreciated. this i need to do in xslt.    

No comments:

Post a Comment