In your LINQ query
xml
refers to the
Infos element. You
could do this instead:
var InfosAttribut = from xml in xdoc.Descendants("Order")
where xml.Descendants("Info").Any(d => (string)d.Attribute("Status") == "Busy")
select xml.Attributes();
xml
will now refer to the
Order element, and a check is done whether there is any
Infos element marked as Busy.