[Python] Escaping strings for use in XML

Discussão em 'Python' iniciado por Stack, Fevereiro 14, 2025.

  1. Stack

    Stack Membro Participativo

    I'm using Python's xml.dom.minidom to create an XML document. (Logical structure -> XML string, not the other way around.)

    How do I make it escape the strings I provide so they won't be able to mess up the XML?

    Continue reading...

Compartilhe esta Página