XmlDocument xmlDoc = getXmlDoc.GetXmlDocByXmlName("材料信息");//获取config目录下 材料信息.xml
           XmlNodeList nodeList = xmlDoc.SelectNodes("/root/talbeName[@name='主表名']");//主表节点集合

 

获取root/tablename 并且 tablename的name属性为主表名 的节点。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-05-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案