Scripts and styles have CDATA content in HTML, but...

...PCDATA in XML, so one needs to declare the CDATA section explicitly.