Dealing with data in XML

Use the CDATA section effectively

Return to article

Text version of missing CDATA sections as displayed in Firefox 3 (Figure 1)
CDATA Section in Action

A sample paragraph:

The pug snoring on the couch next to me is extremely cute.

Markup version:

<p>The pug snoring on the couch next to me is <em<extremely</em> cute.</p>

CDATA version:

Uh, where?

Wait, what?

Return to article