Summarizing here about .xaml export feature usage for your reference:
Currently, .xaml export feature is available and can very well be opened/used with studio and studiopro. However, this doesn’t work currently with studiox profile, this one is already on UiPath’s road map.
Also, please note that in Task Capture version 2021.4, when this .xaml is opened with studio/studiopro, it doesn’t work directly due to the current recording mechanisms differences between task capture and studio so to make it work, few changes to the selectors might be required.
UiPath is currently working on improving this feature so .xaml can be directly consumed/executed by studio without any changes. Improvements already on way in 2021.8 preview release.