View Single Post
  #9 (permalink)  
Old November 29th, 2007, 09:01 AM
Hughesie78 Hughesie78 is offline
Authorized User
 
Join Date: Nov 2007
Location: , , Ireland.
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Hughesie78
Default

i tried that, my code/xpathIs now:
XmlNodeList codelist = bankdoc.SelectNodes("//bank[text() = " + GetXPathString(strBank) + "] and ../branch[text()= " + GetXPathString(strBranch) + "] ");
when i run i get this eror:
Expression must evaluate to a node-set.
Reply With Quote