日期:2014-05-18  浏览次数:20861 次

在线急等救命!关于创建,导入XML文件
我的   代码:
string   pathName   =   "XML   文件路径 ";
XPathDocument   xDoc   =   new   XPathDocument(pathName);     //报错!

错误提示:Could   not   find   a   part   of   the   path   'D:\buildx\schema\dtd\protocol_v2.dtd '.

应该如何解决啊?
在线急等啊!
谢谢啦!

------解决方案--------------------
'D:\\buildx\\schema\\dtd\\protocol_v2.dtd '
路径是不是对的哦```
------解决方案--------------------
Could not find a part of the path
不能找到路径的一部分...