XML 90 R71.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Lease (Details) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Lease [Abstract] |  |  |
Total lease expense | $ 344,775 | $ 162,799 | $ 307,497
Lease liabilities amount | $ 141,183 | $ 63,837 |

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of operating lease expense. Excludes sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479041/842-20-45-4 + Details
Name: | us-gaap_OperatingLeaseExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References No definition available. + Details
Name: | xtkg_OperatingLeaseLiabilities
Namespace Prefix: | xtkg_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant