Traversing the DOM

krilnon, that’s because CDATA sections are specific to XML documents and are unsupported in HTML. Where they are supported, CDATASections are text nodes. See for example, this XHTML Strict document: