j
k
j a
j l
Check the lxml documentation for a way to run tostring without XML/HTML entities.
OK. I find it. Thanks. from lxml import etree tree = etree.XML('<foo>25/15°C <bar>abc</bar></foo>') print etree.tostring(tree, encoding='utf-8') -- Regards, Peng
Back to the thread
Back to the list