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-41210216</txn_id>
<customer_id>59380938-357c-4ae5-aa88-2ceb1bc7b532</customer_id>
<timestamp>2026-01-06T09:43:32.112469</timestamp>
<items>
<sku>SKU-36180</sku>
<qty>2</qty>
<price>233.08</price>
</items>
<items>
<sku>SKU-30422</sku>
<qty>5</qty>
<price>50.84</price>
</items>
<items>
<sku>SKU-10244</sku>
<qty>5</qty>
<price>169.41</price>
</items>
<items>
<sku>SKU-94336</sku>
<qty>1</qty>
<price>99.26</price>
</items>
<subtotal>1105.52</subtotal>
<tax>160.6</tax>
<total>2044.99</total>
<payment_method>credit_card</payment_method>
</transaction_record>