private void ParseArcs(XElement xLink, Link link) { var xArcs = xLink.Descendants().Where(d => d.Attribute(XLinkXNames.ArcRole) != null).ToList(); foreach (var xArc in xArcs) { var arc = CreateArc(xArc); if (arc != null) { link.AddArc(arc); } } }