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-36809284</txn_id>
<customer_id>0c536a02-eec8-4bcd-8716-cb0564185d0f</customer_id>
<timestamp>2026-01-06T09:43:34.532435</timestamp>
<items>
<sku>SKU-37486</sku>
<qty>4</qty>
<price>223.93</price>
</items>
<items>
<sku>SKU-51518</sku>
<qty>1</qty>
<price>246.34</price>
</items>
<items>
<sku>SKU-21777</sku>
<qty>4</qty>
<price>496.92</price>
</items>
<subtotal>250.45</subtotal>
<tax>127.96</tax>
<total>1435.54</total>
<payment_method>paypal</payment_method>
</transaction_record>