public static XElement GetOrAdd(this XContainer parent, XName name) => parent.Element(name) ?? parent.AddElement(name);