xml_escape

astropy.utils.xml.writer.xml_escape(s)[source] [edit on github]

Escapes &, ‘, ”, < and > in an XML attribute value.

Page Contents