correct time data type in cap lib
display valid well formatted xml