Re: [lxml-dev] Problem writing special HTML characters &#...

Feb. 26, 2010
6:20 a.m.
Jens, thanks for the hints, but I still do not understand how to solve the problem I have. Just a couple of steps to better show it: RSSroot = etree.Element('rss') etree.SubElement(RSSroot, 'title').text = '& # 200;' # space between & # added here just to make sure the actual chars are shown print etree.tostring(RSSroot) and I get <rss><title>È</title></rss> so the '&' turns out to be sanitized, while I wanted the special charcater È to go along ... Roberto On Fri, Feb 26, 2010 at 10:39 AM, Jens Quade <jq@qdevelop.de> wrote:
5476
Age (days ago)
5476
Last active (days ago)
1 comments
2 participants
participants (2)
-
Roberto Brunelli
-
Stefan Behnel