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: 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-28739587</txn_id>
<customer_id>626b288f-7bc9-40db-8370-c072e6d11f08</customer_id>
<timestamp>2026-01-06T09:43:34.743621</timestamp>
<items>
<sku>SKU-93439</sku>
<qty>1</qty>
<price>119.65</price>
</items>
<items>
<sku>SKU-76710</sku>
<qty>3</qty>
<price>124.14</price>
</items>
<subtotal>918.1</subtotal>
<tax>120.16</tax>
<total>2089.15</total>
<payment_method>apple_pay</payment_method>
</transaction_record>