Conversion to indenting streambuf for XML output.