Alternatives to XML?

Peter Otten __peter__ at web.de
Thu Aug 25 11:17:03 EDT 2016


Frank Millman wrote:

>> As you have to keep the "<", why bother?
> 
> If you mean why don't I convert the '<' to '<', the answer is that I do
> - I just omitted to say so. However, explicit is better than implicit :-)

Doesn't that make the XML document invalid or changes it in an irreversible 
way? How would you know whether

"<foo><bar/></foo>"

started out as

"<foo><bar/></foo>"

or

"<foo><bar/></foo>"

?




More information about the Python-list mailing list