Model structured documents with elements, attributes, namespaces, schemas, parsing, and transformations.
Lessons
Include raw text and markup without escaping.
CDATA Sections is easiest to learn by reading the example, changing it, and observing the result.
<?xml version="1.0" encoding="UTF-8"?>
<snippet>
<code><![CDATA[
if (a < b && b > c) {
console.log("No escaping needed inside CDATA");
}
]]></code>
</snippet>Practice the CDATA Sections example in a small scratch file, then explain what changed and why.