XmlDocument xmlRequestDoc = new XmlDocument();
xmlRequestDoc.LoadXml(Xml);
XmlNodeList xNodes = xmlRequestDoc.SelectNodes("bookstore/book"); 
foreach(XmlNode xNode in xNodes)
{
   string str = xNode.Attributes["genre"].Value; 
   ...
}