Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Combine text and child elements inside one element.
Mixed Content is easiest to learn by reading the example, changing it, and observing the result.
<?xml version="1.0" encoding="UTF-8"?>
<lessons>
<lesson slug="xml-basics" level="beginner">
<title>XML Elements</title>
<minutes>30</minutes>
</lesson>
<lesson slug="xml-xpath" level="advanced">
<title>XPath Basics</title>
<minutes>45</minutes>
</lesson>
</lessons>Practice the Mixed Content example in a small scratch file, then explain what changed and why.