you can easily work out in this fashion.
<catalog xmlns="http://www.mynamespace.com" catalog-id="MvgCatalog">
<product>
<custom-attributes>
<custom-attribute attribute-id="productEnriched">true</custom-attribute>
</custom-attributes>
</product>
< /category>
below is the Query which selects all the custom attributes with value true
XDocument loaded = XDocument.Load(@"C:\Products.xml");
var result = from c in loaded.Descendants("custom-attributes")
where c.Attribute("custom-attribute ") == true
select (string)c.Element("custom-attribute ")