dicttoxml

    1热度

    2回答

    我在Python中使用dicttoxml将dict转换为XML。 我需要将字典转换为XML属性。 例如: 字典 [ { "@name":"Ravi", "@age":21, "college":"Anna University" } ] 输出XML <Student name="Ravi" age=21> <coll