处理 XML 数据

有效地使用 CDATA 区域

返回文章

Internet Explorer 8 中显示的 CDATA 区域及错误字符的文本版本(图 3)
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, The pug snoring on the couch next to me is extremely cute.

]]> where?

Wait, what?

返回文章