[Python-Dev] c/ElementTree XML serialisation

Xavier Morel python-dev at masklinn.net
Wed May 9 08:02:09 CEST 2012


On 2012-05-09, at 01:41 , Alex Leach wrote:
> 
> True. I might not need the CDATA tag to wrap the javascript then, but I still 
> need < and > symbols. I have no idea how to write a loop in javascript without 
> one.

Erm… you have them? What do you think `&lt;` and `&gt;` are?

As to writing a loop in javascript without < and >, == and != generally
work rather well, as does Array.prototype.forEach[0]

[0] https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/forEach


More information about the Python-Dev mailing list