call the method self.xml.startElement with 2 arguments, string "django-objects" and a dictionary containing 1 element: "1.0" for "version".
self . xml . startElement ( "django-objects" , { "version" : "1.0" } )