Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Add metadata to elements with quoted attribute values.
XML Attributes is easiest to learn by reading the example, changing it, and observing the result.
<?xml version="1.0" encoding="UTF-8"?>
<lessons>
<lesson id="1" slug="xml-basics" level="beginner">
<title>XML Elements</title>
</lesson>
<lesson id="2" slug="xml-xpath" level="advanced">
<title>XPath Basics</title>
</lesson>
</lessons>Practice the XML Attributes example in a small scratch file, then explain what changed and why.