'Parameters:
f
File object for output.
base64_attrs
Attribute types to be base64-encoded.
dsml_comment
Text placed in comment lines behind <dsml:dsml>.
indent
String used for indentiation of next nested level.'

def __init__(self, f, base64_attrs=[], dsml_comment='', indent='                '):

    self._output_file = f
    self._base64_attrs = list_dict(map(string.lower, base64_attrs))
    self._dsml_comment = dsml_comment
    self._indent = indent
