def simpleElement(self, element, value=None):
        if value is not None:
            value = _escapeAndEncode(value)
            self.writeln("<%s>%s</%s>" % (element, value, element))
        else:
            self.writeln("<%s/>" % element)


# Regex to find any control chars, except for \t \n and \r
We have to override this method to deal with Unicode text correctly.
dataset/ETHPy150Open kivy/kivy-ios/tools/external/mod_pbxproj.py/PBXWriter.simpleElement