Checking data with targeting some sentence in when condition using xslt -1.0
example sentence : END OF SERVICE FOR THIS DAY —-($branchPay)
using when condition if i check contains($branchPay,'END OF SERVICE') i will hard code as END
if suppose sentence somes with out spaces : END OFSERVICE FOR THIS DAY — ($branchPay)
then hard code as END is not working , at such cases
You can remove spaces from
$branchPayand check if it containsENDOFSERVICE, i.e.: