Output working for single element case. Not quite working for multiple elements
Authored by: hspark 2008-02-13
Parent: [r1729]
Child: [r1731]