[求助]关于SelectNode方法的疑问
											代码段: 
string str = "02"; 
XmlNodeList customerList = myDoc.SelectNode("descendant::customer[id=str]"); 
用myDoc.SelectNode("descendant::customer[id=str]");会出现异常, 
而直接用myDoc.SelectNode("descendant::customer[id='02']");则可正常运行,这是为什么呢,这样岂不是不能传参数了?



 
											





 
	    

 
	



