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

Alex Leach albl500 at york.ac.uk
Wed May 9 14:41:19 CEST 2012


On Wednesday 09 May 2012 08:10:34 And Clover wrote: | 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.) Cheers, I'll have to check that. I assumed < etc. didn't get executed properly in SVG files. Assuming you're correct (you python-devs always are!), it must have been another problem that was causing issues...



More information about the Python-Dev mailing list