update formatting for XML Writer