<
var result = xdoc.Descendants("World") .Descendants("Animals") .Descendants("Tab") .Elements("Dogs") .Where(n => n.Attribute("id").Value == "1");
Output: