Xpath error has an Invalid Token

OneNonlyNova

New Member
I have a C# code like:\[code\]var selectNode = xmlDoc.SelectSingleNode("//CodeType[@name='" + codetype + "']/Section[@title='" + section + "']/Code[@code='" + code + "' and @description='" + codedesc + "']") as XmlElement;\[/code\]when I run my code it raises the error saying "the above statement has an invalid token"These are the values for the above state't.\[code\]codeType=cbcsection="Mental"codedesc="Injection, enzyme (eg, collagenase), palmar fascial cord (ie, Dupuytren's contracture"\[/code\]Thanks
 
Back
Top