All notes
Xml

FAQ

Escape chars

All text in an XML document will be parsed by the parser. But text inside a CDATA section will be ignored by the parser.

CDATA - (Unparsed) Character Data.

CDATA 部分由 "<![CDATA[" 开始,由 "]]>"结束:


<script>
<![CDATA[
function matchwo(a,b)
{
if (a < b && a < 0) then
  {
  return 1;
  }
else
  {
  return 0;
  }
}
]]>
</script>