using System.Collections.Generic;
public static void Main()
var raw = @"<?xml version='1.0' encoding='utf-8'?>
<list nom='Nom' description='Description' image='no_image.png'/>
<user list='otherListName'>
<list nom='' description='' image=''/>
<list nom='' description='' image=''/>
var doc = XDocument.Parse(raw);
var listName = "default";
var result = doc.Root.Elements("user").Where(o => (string)o.Attribute("list") == listName).Elements("list");
Console.WriteLine(r.ToString());