Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Avoid name collisions in mixed XML vocabularies.
Namespaces & Qualified Names is easiest to learn by reading the example, changing it, and observing the result.
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:book="https://example.com/book"
xmlns:cd="https://example.com/cd">
<book:item>
<book:title>Learning XML</book:title>
</book:item>
<cd:item>
<cd:title>Greatest Hits</cd:title> <!-- no name collision -->
</cd:item>
</root>Practice the Namespaces & Qualified Names example in a small scratch file, then explain what changed and why.