Everyday Italian
Adding to Matthew's response:
XmlDocument xDoc = new XmlDocument(); // (Put code to populate xDoc here) XmlNodeList xNode = xDoc.SelectNodes(@"/bookstore/book[@category='COOKING']");
xNode now equals Book of type COOKING.