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: 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-19481816</txn_id>
<customer_id>56fef848-852f-43b5-97b9-807ae99ac1d6</customer_id>
<timestamp>2026-01-06T09:43:30.522776</timestamp>
<items>
<sku>SKU-10721</sku>
<qty>3</qty>
<price>443.77</price>
</items>
<items>
<sku>SKU-47310</sku>
<qty>4</qty>
<price>33.87</price>
</items>
<items>
<sku>SKU-40807</sku>
<qty>2</qty>
<price>128.71</price>
</items>
<items>
<sku>SKU-66016</sku>
<qty>3</qty>
<price>347.45</price>
</items>
<subtotal>97.75</subtotal>
<tax>19.8</tax>
<total>448.5</total>
<payment_method>paypal</payment_method>
</transaction_record>