private void ParseAttributes(IXmlNode element, Bar bar, MasterBar masterBar)
{
element.IterateChildren(c =>
{
if (c.NodeType == XmlNodeType.Element)
{
switch (c.LocalName)
{
case "key":
ParseKey(c, masterBar);
break;
case "time":
ParseTime(c, masterBar);
break;
case "clef":
ParseClef(c, bar);
break;
}
}
});
}