xPath help needed

Hi,

What is the xPath to get a list of all AppName where ComputerName is M1?
I tried several ways, but failed to reach the desired result.

Thanks.

Try this :

 /data-set/record[ComputerName[.='M1']]/AppName


Thank you!