Use accessor functions to manipulate xmlOutputBuffer