[silva-dev] Encode Ampersand for XML

Samuel Schluep schluep at ethz.ch
Mon Sep 5 16:01:53 CEST 2005


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 | schluep at ethz.ch | http://www.zoa.ethz.ch




More information about the silva-dev mailing list