[C#][Tips][File] XML: 指定XPATHの属性値リスト

public static void mRead_SelectSingleNode_Attr()
{
    List<string>  slValue = new List<string> ();

    /* File */
    var xDoc = new System.Xml.XmlDocument();
    xDoc.Load(@"CustomersOrdwes.xml");

    /* Node(Single) */
    string sXPath = @"/Root/Customers/Customer[@CustomerID='GREAL']";
    var xNode = xDoc.SelectSingleNode(sXPath);

    /* Element-Attribute */
    foreach (System.Xml.XmlNode item_Attr in xNode.Attributes)
    {
        slValue.Add((string)item_Attr.Value);
    }

    /*  */
    slValue.ForEach(c => Console.WriteLine(c));

}