Ejemplo n.º 1
0
        private static void WriteGroup(XmlWriter writer, GroupNode group)
        {
            writer.WriteStartElement("part");
            writer.WriteAttributeString("id", group.Id);

            foreach (var subgroup in group.GetChildren())
            {
                WriteGroup(writer, subgroup);
            }
            WriteText(writer, group);

            writer.WriteEndElement();
        }
Ejemplo n.º 2
0
        private static void WriteGroup(XmlWriter writer, GroupNode group)
        {
            writer.WriteStartElement("part");
            writer.WriteAttributeString("id", group.Id);

            foreach (var subgroup in group.GetChildren())
                WriteGroup(writer, subgroup);
            WriteText(writer, group);

            writer.WriteEndElement();
        }