Encode Ampersand for XML
Samuel Schluep <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello together
A very silly question - what is the best way in Python (and Zope) to
encode the XML special characters ("&", "<", ">") for some XML output.
Is there some standard method?
Excuse me for posting this question here. I thought there *must* be some
standard method in the python library but could not find one :-(
Regards
Sam
--
Samuel Schluep | ETH Zürich
Center for Organizational and Occupational Sciences (ZOA)
Unit Man-Machine Interaction
+41 1 632 74 24 | [email protected] | http://www.zoa.ethz.ch