system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
Produce a XML document for a research paper.
assistant
Approach:
1. Task: Create research paper 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"?>
<research_paper>
<paper_id>arXiv:2020.18284</paper_id>
<title>Adaptive encompassing artificial intelligence</title>
<authors>
<name>Amanda Chavez</name>
<affiliation>Russell, Mejia and Barton</affiliation>
<email>hmiller@example.com</email>
</authors>
<authors>
<name>Benjamin Shah</name>
<affiliation>Allen-Pena</affiliation>
<email>wyoung@example.net</email>
</authors>
<abstract>Glass amount again church maintain. Difference week think respond natural administration. Get should account head line now.</abstract>
<keywords>election</keywords>
<keywords>design</keywords>
<keywords>PM</keywords>
<publication>
<venue>Science</venue>
<year>2023</year>
<doi>10.8286/QBBW</doi>
</publication>
<citations>5</citations>
<funding_source>Martinez, Ayers and Bowman</funding_source>
</research_paper>