system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
Create a XML representation of student assessment.
assistant
Approach:
1. Task: Create student assessment 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"?>
<student_assessment>
<assessment_id>ASMT-254069</assessment_id>
<student_id>STU-414136</student_id>
<course_id>CRS-7594</course_id>
<type>exam</type>
<date>2026-01-03</date>
<scores>
<question>1</question>
<points_earned>6</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>2</question>
<points_earned>9</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>3</question>
<points_earned>1</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>4</question>
<points_earned>2</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>5</question>
<points_earned>5</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>6</question>
<points_earned>4</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>7</question>
<points_earned>2</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>8</question>
<points_earned>3</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>9</question>
<points_earned>0</points_earned>
<points_possible>10</points_possible>
</scores>
<scores>
<question>10</question>
<points_earned>10</points_earned>
<points_possible>10</points_possible>
</scores>
<total_score>84</total_score>
<percentage>90.1</percentage>
<grade>B</grade>
</student_assessment>