def toXML(self, writer, ttFont):
    writer.begintag(self.__class__.__name__, [('platformID', self.platformID), ('platEncID', self.platEncID), ('language', self.language)])
    writer.newline()
    codes = sorted(self.cmap.items())
    self._writeCodes(codes, writer)
    writer.endtag(self.__class__.__name__)
    writer.newline()
def toXML(self, writer, ttFont):
    writer.begintag(self.__class__.__name__, [('platformID', self.platformID), ('platEncID', self.platEncID), ('language', self.language)])
    writer.newline()
    codes = sorted(self.cmap.items())
    self._writeCodes(codes, writer)
    writer.endtag(self.__class__.__name__)
    writer.newline()