system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
Output transaction record as XML.
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-96998587</txn_id>
<customer_id>ee50bb87-b523-4e25-a457-71a20134c9ce</customer_id>
<timestamp>2026-01-06T09:43:32.230191</timestamp>
<items>
<sku>SKU-38396</sku>
<qty>2</qty>
<price>358.14</price>
</items>
<items>
<sku>SKU-16249</sku>
<qty>1</qty>
<price>424.96</price>
</items>
<items>
<sku>SKU-37380</sku>
<qty>2</qty>
<price>416.71</price>
</items>
<items>
<sku>SKU-19778</sku>
<qty>1</qty>
<price>470.22</price>
</items>
<subtotal>641.99</subtotal>
<tax>131.13</tax>
<total>2135.0</total>
<payment_method>paypal</payment_method>
</transaction_record>