public XElement Serialize() { XElement elm = new XElement("se", Elements.Select(e => new XAttribute(e.Key, e.Value)).Union(new[] { new XAttribute("name", Name), }), Paragraphs.Select(p => p.Serialize()) ); return(elm); }
public XElement Serialize() { XElement elm = new XElement("ch", Elements.Select(e => new XAttribute(e.Key, e.Value)).Union(new[] { new XAttribute("name", Name), }), Sections.Select(s => s.Serialize()) ); return(elm); }