如何停止将“”变成“&”对于下面的代码?
>>> from xml.dom.minidom import Document
>>> doc=Document()
>>> name_element = doc.createElement('name')
>>> name_text = doc.createTextNode('"tom"')
>>> name_element.appendChild(name_text)
<DOM Text node "'"tom"'">
>>> name_element.toxml()
'<name>"tom"</name>'