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: 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-11812117</txn_id>
<customer_id>4e79c070-6935-456a-b07c-e1f0e18641ae</customer_id>
<timestamp>2026-01-06T09:43:30.130542</timestamp>
<items>
<sku>SKU-52645</sku>
<qty>3</qty>
<price>146.99</price>
</items>
<items>
<sku>SKU-49070</sku>
<qty>4</qty>
<price>201.41</price>
</items>
<items>
<sku>SKU-26435</sku>
<qty>5</qty>
<price>345.23</price>
</items>
<subtotal>721.98</subtotal>
<tax>169.32</tax>
<total>333.86</total>
<payment_method>credit_card</payment_method>
</transaction_record>