我需要的是一种使用html5lib解析器生成真正的xml.etree.ElementTree的方法。 (出于可移植性原因,不能选择lxml。) ELementTree.parse can take a parser作为可选参数
確定! 回上一頁