Daniel Silverstone

recently quoted a part of the pyblosxom sourcecode that is just plain ugly:

` cfile.write(“<?xml version="1.0" encoding="iso-8859-1"?>\n”) `

Do never do that. You’ll most likely end up with invalid data. Please - especially when you use a language such as Python which comes with XML support - use an XML data model to generate XML. XML is not text.

While this was okay back in “good old HTML3 times”, please don’t do such things any more. Messing around like this is likely to break things.