CDATA(字符数据)区域被解析器视为数据块,从而允许您在数据流中包含任意字符。
CDATA (character data) sections are treated as a block of data by the parser, allowing you to include any character in the data stream.
parseElementText (ns, name) -解析下一个元素,它必须只包含字符数据内容。
ParseElementText (ns, name) — Parses the next element, which must have only character data content.
parseContentText(ns, name) - 解析完当前元素的尾部,它必须只包含字符数据内容。
parseContentText(ns, name) -- Parses past the end of the current element, which must have only character data content.
应用推荐