I want to ask you for help.Maybe anybody had the same problem and solve it already.
I have a new document type in TN and I need to extract Sender and Receiver ID from Message.
Here is segment where sender and receiver are defined.
I don’t know how to extract SENDER_ID and Sender from PartnerRole together to be sure that this ID is Sender.
I tried this XQLs
/Parties/PartyInformation/@PartnerRole union /Parties/PartyInformation/PartnerIdentifier
But this is not possible to save.
Then I found solution in User guide:
/Parties/PartyInformation[@PartnerRole ‘eq’ ‘Sender’]/PartnerIdentifier
But it returns error that “@PartnerRole ‘eq’ ‘Sender’” is not number.
Anybody knows how to extract value from element on basis of his attribute?
Thank you for your help