Export scene for my own game engine
After some researches and reading on Blender API I created that script and it worked perfect, so I created my own exporter :), so happy

import bpy


class ExportSceneToBoddooo(bpy.types.Operator):
"""Test exporter which just writes hello world"""
bl_idname = "export.scene_to_boddooo"
bl_label = "Export to Boddooo"

filepath = bpy.props.StringProperty(subtype="FILE_PATH")

@classmethod
def poll(cls, context):
    return context.object is not None

def execute(self, context):
    file = open(self.filepath, 'w')

    file.write("&lt;Level&gt; \n")
    file.write("    &lt;Meshes&gt; \n")        
    for ob in bpy.data.objects:
        locX=str(ob.location.x)
        locY=str(ob.location.y)
        locZ=str(ob.location.z)
        rotX=str(ob.rotation_quaternion.x)
        rotY=str(ob.rotation_quaternion.y)
        rotZ=str(ob.rotation_quaternion.z)            
        rotW=str(ob.rotation_quaternion.z)                        
        sclX=str(ob.scale.x)
        sclY=str(ob.scale.y)
        sclZ=str(ob.scale.z)                                  
        if ob.type=="MESH":
            file.write("        &lt;" +ob.type + " name='" + ob.name + "' location='"+locX +" " + locY+" " + locZ+"' rotation='"+rotX +" " + rotY+" " + rotZ+" " + rotW+"' scale='"+sclX +" " + sclY+" " + sclZ+"'/&gt;\n")
    file.write("    &lt;/Meshes&gt; \n")   
    file.write("    &lt;Lamps&gt; \n")                     
    for ob in bpy.data.lamps:
        clrX=str(ob.color.r)
        clrY=str(ob.color.g)
        clrZ=str(ob.color.b)
        energy=str(ob.energy)
        file.write("        &lt;" +ob.type + " name='" + ob.name + "' location='"+locX +" " + locY+" " + locZ+"' rotation='"+rotX +" " + rotY+" " + rotZ+" " + rotW+"' color='"+clrX +" " + clrY+" " + clrZ+"' intensity='"+energy+"' /&gt;\n")
    file.write("    &lt;/Lamps&gt; \n")
    file.write("&lt;/Level&gt;")         
    return {'FINISHED'}

def invoke(self, context, event):
    context.window_manager.fileselect_add(self)
    return {'RUNNING_MODAL'}


# Only needed if you want to add into a dynamic menu
def menu_func(self, context):
    self.layout.operator_context = 'INVOKE_DEFAULT'
    self.layout.operator(ExportSceneToBoddooo.bl_idname, text="Boddooo Exporter")

# Register and add to the file selector
bpy.utils.register_class(ExportSceneToBoddooo)
bpy.types.INFO_MT_file_export.append(menu_func)


# test call
bpy.ops.export.some_data('INVOKE_DEFAULT')