You should use Transform3dFromMatrix3d and then transform element, because Matrix3dIsXRotationYRotationZRotationScale does not guarantee correct rotation translation. In some cases rotation matrix may contain additional data and this function may fail.
HTH