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-79890084</txn_id>
<customer_id>4c9f9f8a-3fb5-41bc-8703-bf6196091515</customer_id>
<timestamp>2026-01-06T09:43:29.757714</timestamp>
<items>
<sku>SKU-50400</sku>
<qty>4</qty>
<price>80.89</price>
</items>
<items>
<sku>SKU-85515</sku>
<qty>5</qty>
<price>367.59</price>
</items>
<items>
<sku>SKU-41832</sku>
<qty>5</qty>
<price>178.88</price>
</items>
<items>
<sku>SKU-38315</sku>
<qty>3</qty>
<price>240.63</price>
</items>
<subtotal>788.47</subtotal>
<tax>5.52</tax>
<total>1195.64</total>
<payment_method>paypal</payment_method>
</transaction_record>