How to export Xnalara models into .fbx correctly?

Hello everybody.
I’ve been trying to import Xnalara models into blender, to convert them into .fbx.
I used a script, and managed to import them correctly with the bones.
But after exporting them to .fbx, and even .x, it seems that all the bones are at the origin, at the character feet. They are not at their supposed position. But the meshes are assigned correctly to their bones.

Anybody knows how to fix this?
Or is there a better way to convert Xnlara models into .fbx or .x with bones intact?

google xps importer for blender.