updated XML output for issue #28