Fixed XML attribute for input and output streams
Fixed attribute name and indentation