通过在text和tail中增加换行和制表符,就可以实现美化XML的目的。 美化代码如下: def prettyXml(element, indent, newline, level = ...
確定! 回上一頁