How cab u export tangents from blender?

My rendering pipeline (in my direct3d renderer) requires tangents to be present in models that use normal mapping, however i am unable to see how you export tangents from blender into .x files.

Can anyone point me in the right direction?

Thanks.