我有以下C#代码:
var selectNode = xmlDoc.SelectSingleNode("//CodeType[@name='" + codetype +
"']/Section[@title='" + section + "']/Code[@code='" + code + "' and
@description='" + codedesc + "']") as XmlElement;
Run Code Online (Sandbox Code Playgroud)
当我运行我的代码时,它会引发错误,说"上面的语句有一个无效的令牌"
这些是上述陈述的值.
codeType=cbc
section="Mental"
codedesc="Injection, enzyme (eg, collagenase), palmar fascial cord (ie,
Dupuytren's contracture"
Run Code Online (Sandbox Code Playgroud)