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-77634261</txn_id>
<customer_id>14254338-25f4-4277-b03d-bd2ea5abeebf</customer_id>
<timestamp>2026-01-06T09:43:34.863603</timestamp>
<items>
<sku>SKU-48101</sku>
<qty>3</qty>
<price>477.41</price>
</items>
<items>
<sku>SKU-81893</sku>
<qty>4</qty>
<price>35.53</price>
</items>
<items>
<sku>SKU-79183</sku>
<qty>3</qty>
<price>316.45</price>
</items>
<subtotal>392.27</subtotal>
<tax>108.31</tax>
<total>1654.0</total>
<payment_method>paypal</payment_method>
</transaction_record>