Subject:Need help on XSLT issue - Author:Varun K Date:11 Sep 2021 03:50 PM Originally Posted: 11 Sep 2021 03:40 PM
Hi Team,
I am facing an issue with XSLT mapping.
My requirement is that I need to select different attribute value for Payment node based a field Account number value. It is working fine for single payment requests, but for multiple payments, I am facing below issue
XPTY0004: A sequence of more than one item is not allowed as the first argument of contains() ("IN22TB1234", "IN32US1234")
Sample Source payload: Refer to Sample Payload file attached
Requirement is as below
If paymentOrder/creditAccount/accountNumber contains TB then populate