I have created Python classes by an XML schema file using generateDS2.12a. I am using these classes to create XML files. My module works well with a Python 2.7 environment.
Now, due to some reason my environment is changed to Python 3.0.0. Now when I try to export the XML object it is throwing me following error:
Function : export(self, outfile, level, namespace_='', name_='rootTag', namespacedef_='', pretty_print=True)
Error : s1 = (isinstance(inStr, basestring) and inStr or NameError: global name 'basestring' is not defined
Is there a change I need to do to export XML in Python 3.0.0 or a new version of GenerateDS to be used for Python 3.0.0?