public static XmlElement spellList(XmlDocument doc, SpellList spls)
        {
            XmlElement e = doc.CreateElement("SpellList");

            foreach (Spell sp in spls.toList())
                e.AppendChild(spell(doc, sp));

            return e;
        }