hid the debug statements for XML under a DEBUGDATA flag