SITL and HITL with Xplane and PX4

Hi

As a beginner, I wanted to know the if PX4 is compatible with Xplane (along with the version info) to carry out software-in-the-loop and hardware-in-the-loop testing, in order to test a new flight mode for a fixed wing UAV. I’d be grateful for a prompt reply.

Thanks.