Can any one help me with XQL query syntax? extract value from a xml document to set GroupID in TN
Here is a sample XML
<idoc>
<edi_dc40>
<mestyp>DESADV</mestyp>
<mescod>CS</mescod>
<mesfct></mesfct>
</edi_dc40>
<e1edkt3>
<tdid>001</tdid>
<tsspras>E</tsspras>
<e1edkt4>
<tdline>MERCHANT: 7</tdline>
</e1edkt4>
<e1edkt4>
<tdline>PROJECTID: 10</tdline>
</e1edkt4>
<e1edkt4>
<tdline>STORAGEID: 0000060012</tdline>
</e1edkt4>
</e1edkt3>
</idoc>
If MESCOD=CS then GroupID = MERCHANTID (7)
else GroupID = ProjectID (10)
thanks
#Integration-Server-and-ESB#B2B-Integration#webMethods