Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Name elements legally and consistently.
Element Naming Rules 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 Element Naming Rules example in a small scratch file, then explain what changed and why.