system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
I need transaction record details in XML structure.
assistant
Approach:
1. Task: Create transaction record in XML
2. Complexity: medium - 5-8 fields, 2-3 levels
3. Format rules: well-formed tags, proper nesting, escaped special chars
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
<?xml version="1.0" encoding="UTF-8"?>
<transaction_record>
<txn_id>TXN-98803941</txn_id>
<customer_id>a2b1f805-e4ed-4cf7-8d38-3073f5d82c07</customer_id>
<timestamp>2026-01-06T09:43:31.512204</timestamp>
<items>
<sku>SKU-89356</sku>
<qty>4</qty>
<price>489.43</price>
</items>
<subtotal>398.66</subtotal>
<tax>154.77</tax>
<total>2022.54</total>
<payment_method>paypal</payment_method>
</transaction_record>