Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Store readable text inside elements.
Text 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 Text Content example in a small scratch file, then explain what changed and why.