使用python scrip从xml中提取属性和某些标记值我想解析一个XML内容并返回一个字典,其中只包含name属性及其值作为dictionary。例如: <ecmaarray> <number name="xyz1">1 ...2024-04-25 已阅读: n次