如何获取节点的属性及对应的值
foreach (var attribute in element.Attributes())
{
string value = attribute.Value;
// ...
}