However, neither append, insert or subElement keep the structure of the parent. from lxml import etree xml = et.fromstring('<source>Some text <g>that is ...
確定! 回上一頁