public List<string> GetAttributesValue(string xPath, string attributeName)
{
var result = new List<string>();
if (string.IsNullOrEmpty(attributeName)) return result;
var elements = _doc.XPathSelectElements(xPath);
result.AddRange(from element in elements where element.HasAttributes select element.Attribute(attributeName) into attr where attr != null select attr.Value);
return result;
}