http://www.cnblogs.com/greatverve/archive/2010/07/09/linq-to-xml-add-delete-update-query.html

记录一下,别的都比较普通,只有这一句比较有意思。
doc.Root.Descendants("").Select(p=> new {}).Where();
跟jQuery的层级筛选比较类似jQuery("").children().first().html();

doc.Root.Descendants("floor").Select(p => new
        {
            Name = p.Element("name").Value
        }).Where(p => p.Name == "1楼层xml");

 LINQ to XML基本操作

http://www.cnblogs.com/zwl12549/archive/2008/11/02/1324571.html

linq to xml操作XML

 

LINQ to XML一些基本查询

 

相关文章:

  • 2022-01-14
  • 2021-05-27
  • 2021-06-26
  • 2021-09-19
  • 2021-06-20
  • 2022-01-08
猜你喜欢
  • 2022-01-15
  • 2022-02-25
  • 2022-12-23
  • 2021-04-21
  • 2022-12-23
相关资源
相似解决方案