Fixes for the Element.__repr__() method.
Authored by: bugman 2008-06-22
Parent: [r6422]
Child: [r6424]