system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
Generate transaction record data in XML format.
assistant
Approach:
1. Task: Create transaction record in XML
2. Complexity: complex - 8-10 fields, 3-4 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-97907464</txn_id>
<customer_id>2bedc7f2-81fc-428e-8905-082f3269a8ac</customer_id>
<timestamp>2026-01-06T09:43:31.929253</timestamp>
<items>
<sku>SKU-71851</sku>
<qty>1</qty>
<price>387.94</price>
</items>
<subtotal>521.89</subtotal>
<tax>92.88</tax>
<total>1428.8</total>
<payment_method>credit_card</payment_method>
</transaction_record>