docs: def parse_att(output, att, indent):
      """
      att is a tuple: (name, value)
      """
      if isinstance(att[1], bs):
          outputStr = '''{indent}<{attribute} {name}="{attname}" {value}="{attvalue}"/>\n'''.format(
              indent=indent,
              attribute=ATTRIBUTE,
              name=NAME,
              attname=sanitize(att[0], spaces=False),
              value=VALUE,
              attvalue=sanitize(att[1])
          )
          if 'We have created a bathymetric digital elevation model' in att[1]:
              foo = io.StringIO()
              foo.write(outputStr)
          output.write(outputStr)
      else:
          att_type = type_map.get(type(att[1]), 'unknown')
          output.write('''{indent}<{attribute} {name}="{attname}" {type}="{att_type}" {value}="{attvalue}"/>\n'''.format(
              indent=indent,
              attribute=ATTRIBUTE,
              name=NAME,
              attname=sanitize(att[0]),
              type=TYPE,
              att_type=att_type,
              value=VALUE,
              attvalue=att[1]
          )
          )