xml difference ignoring key/value pairs when there is a specific key

aschwinaschwin Posts: 1
edited July 30 in SOAtest

Hi all,

I am trying to do an xml comparison using the Diff tool, however this xml contains key/value pairs (RefType/RefInfo) where some of those values are dynamic while others are static.

Below is an example where I tried to use the Diff tool (xml). However the diff tool doesn't recognize the xpath expression I have provided. Regular xpath tools do recognize it (even the XML assertor in SOATest)

The xpath is:
/TransReqInfo/DebitInfo/BankAcctTrnRec/RefInfo[RefType='OrgSpecific']/RefId

The xml is:

Does anyone know how to deal with these type of Xpath's?

Kind regards,
Aschwin

Sign In or Register to comment.