[Python-Dev] c/ElementTree XML serialisation (original) (raw)

And Clover and-dev at doxdesk.com
Wed May 9 10:10:34 CEST 2012


On 2012-05-08 23:41, Alex Leach wrote:

I still need< and> symbols. I have no idea how to write a loop in javascript without one.

Just &-escape them same as you do in any other element. 'style' and 'script' do not require any special handling in XML.

('>' doesn't necessarily need escaping anyway, except as part of a ]]> sequence in text content.)

-- And Clover mailto:and at doxdesk.com http://www.doxdesk.com/ gtalk:chat?jid=bobince at gmail.com



More information about the Python-Dev mailing list