Bug fix in encoding empty elements with attributes - the step for adding
'/' trailler should follow adding attributes.
Authored by: dmitry 2004-01-23
Parent: [r197]
Child: [r199]