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: 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"?>
<research_paper>
<paper_id>arXiv:2021.22882</paper_id>
<title>Advanced homogeneous structure</title>
<authors>
<name>James Moreno</name>
<affiliation>Gomez PLC</affiliation>
<email>cooksara@example.com</email>
</authors>
<authors>
<name>Patricia Martinez</name>
<affiliation>Keller-Riley</affiliation>
<email>piercebryan@example.org</email>
</authors>
<authors>
<name>Karen Lopez</name>
<affiliation>Fuller and Sons</affiliation>
<email>april91@example.com</email>
</authors>
<abstract>Call finally talk find piece decide. Throw thousand number country.
Report kid agency Democrat hope. Also store away us.</abstract>
<keywords>man</keywords>
<keywords>phone</keywords>
<keywords>usually</keywords>
<keywords>nor</keywords>
<publication>
<venue>Science</venue>
<year>2023</year>
<doi>10.5122/MdFU</doi>
</publication>
<citations>212</citations>
<funding_source />
</research_paper>