阅读背景:

使用lxml.etree移动整个元素

来源:互联网 

Within lxml, is it possible, given an element, to move the entire thing elsewhere in the xml document without having to read all of it's children and recreate it? My best example would be changing parents. I've rummaged around the docs a bit but haven't had much luck. Thanks in advance!Within lxml, is it possible, given an element,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: