Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Use self-closing tags for elements without content.
Empty Elements is easiest to learn by reading the example, changing it, and observing the result.
<?xml version="1.0" encoding="UTF-8"?>
<form>
<input type="text" name="email"/> <!-- self-closing -->
<input type="password" name="pass"></input> <!-- also valid -->
<break/>
</form>Practice the Empty Elements example in a small scratch file, then explain what changed and why.