Check 2 Values by Using XPath
Hello,
I have tried several things but nothing worked so far.
I would like to search for the Firstname and Lastname in my XML and display all the correct Results in my Datagrid.
mlNodeList = xml.SelectNodes("/memberlist/member[./firstname='David']")
That works perfectly but the result is all Members with the Firstname 'David'.
I tried to use an 'and' in my XPath but it didn't work...
mlNodeList = xml.SelectNodes("/memberlist/member[./firstname='David'] & /memberlist/member[./lastname='McDonald']")
I hope you can help me out.
Thanks in advance

