Difference between PCDATA and CDATA in DTD

后端 未结 6 1797
耶瑟儿~
耶瑟儿~ 2020-12-04 06:52

What is the difference between #PCDATA and #CDATA in DTD?

6条回答
  •  伪装坚强ぢ
    2020-12-04 07:46

    PCDATA - Parsed Character Data

    XML parsers normally parse all the text in an XML document.

    CDATA - (Unparsed) Character Data

    The term CDATA is used about text data that should not be parsed by the XML parser.

    Characters like "<" and "&" are illegal in XML elements.

提交回复
热议问题