lxml - keep input symbols, disable entity conversion

前端 未结 0 1454
小蘑菇
小蘑菇 2021-02-10 05:46

If the following string is read and output using lxml, the umlauts are converted to entities.

import xml.etree.ElementTree as ET

root = ET.fromstring("

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题