All Questions
1 question
0
votes
1
answer
432
views
lxml: Including a string (which may include a xml snippet) in a etree.SubElement [duplicate]
I am writing a XML file with lxml. At a given moment, I have to "paste" the content of a string variable as then "text" of the element. The string may be plain text or contain an arbitrary number ...