QDomCDATASectionclass represents an XML CDATA section. 更多 …
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. The only delimiter that is recognized in a CDATA section is the “]]>” string that terminates the CDATA section. CDATA sections cannot be nested. Their primary purpose is for including material such as XML fragments, without needing to escape all the delimiters.
相邻
QDomCDATASectionnodes are not merged by thenormalize()函数。有关文档对象模型的进一步信息,见 http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/ 。有关 DOM 实现的更一般介绍,见
QDomDocument文档编制。
QDomCDATASection
¶
QDomCDATASection(x)
- param x
构造空 CDATA 区间。要创建具有内容的 CDATA 区间,使用
createCDATASection()
函数。