system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
Create a XML representation of transaction record.
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-50783918</txn_id>
<customer_id>7ef8b7c0-96f5-425b-a34a-21b7e1f5f553</customer_id>
<timestamp>2026-01-06T09:43:31.932704</timestamp>
<items>
<sku>SKU-10520</sku>
<qty>2</qty>
<price>262.34</price>
</items>
<items>
<sku>SKU-69100</sku>
<qty>4</qty>
<price>135.83</price>
</items>
<items>
<sku>SKU-37913</sku>
<qty>4</qty>
<price>412.88</price>
</items>
<subtotal>887.28</subtotal>
<tax>42.29</tax>
<total>731.95</total>
<payment_method>paypal</payment_method>
</transaction_record>