Specifies elements that will be encoded as CDATA sections.
指定将被编码为cdata节的元素。
You need to split it up into two CDATA sections (see Listing 8).
您需要将它分割为两个CDATA区域(见清单8)。
CDATA sections are replaced with their literal character content.
将cdata节替换为它们的文字字符内容。
Also note that the CDATA sections in the original XML document have been removed.
还要注意,原始xml文档中的cdata节被去掉了。
I'll also begin to delve into the handling of issues like whitespace, CDATA sections, and a lot more.
我还将钻研像空格、cdata节以及许多其他问题的处理。
A final thing to keep in mind when adding chunks of data to your XML with CDATA sections is size.
当您使用CDATA区域在XML中添加数据块时,最后需要考虑的问题是大小。
Cdata-section-elements - a comma-separated list of elements that should be serialized as cdata sections.
cdata - section - elements——以逗号分隔的元素列表,这些元素应被序列化为cdata节。
For example, a rule that says "all well-formed XML is acceptable as long as it doesn't use CDATA sections".
比如,一条规则说“所有结构良好的XML只要不使用cdata节都是可接受的”。
XML CDATA sections contain raw text that should be included, but not parsed, with the XML that contains it.
XMLCDATA区段包含应该纳入、但不应剖析的未经处理文字,以及包含这段文字的 XML。
Even with this improvement, your code can still trip on comments, processing instructions, and CDATA sections.
即使这样改进之后,代码还是会在注释、处理指令和cdata节上出错。
You have learned how to declare the legal elements, attributes, entities, and CDATA sections for XML documents.
你已经知道了如何来声明合法元素,属性,实体以及XML文件的CDATA部分。
JAXB also handles CDATA sections a little differently than you might expect, but it does preserve semantic equivalence.
JAXB还以和预期稍有不同的方式处理cdata节,但确实保持了语义等价。
Expansions may only occur in ordinary template text; they are not allowed inside attributes, or inside CDATA sections.
扩展表达式只能出现在普通的文本模板中;他们不被允许放在属性或者CDATA部分中。
The element can contain text, white space, significant white space, CDATA sections, comments and processing instructions.
该元素可包含文本、空白、有效空白、cdata节、注释和处理指令。
CDATA sections are allowed anywhere in XHTML (as they would be in any XML application) but in practice they're completely ignored.
CDATA区域可以出现在XHTML中的任意位置(就像在任何XML应用程序中一样),但在实践中,这些CDATA区域通常会被忽略。
Remember that XSLT also loses some information in XML files, such as the top declarations, entity references and CDATA sections.
记住,XSLT还丢失了XML文件中的其他信息,如顶层声明、实体引用和cdata节。
In practice it seldom works: XML syntax requires support for multiple encodings and many subtleties, such as CDATA sections or entities.
但实际上却很难成功:XML语法要求支持多种编码和很多难以捉摸的特性,比如CDATA 节和实体。
However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections.
不过,在项目与属性名称、注解、处理指示或cdata区段中不允许字元实体参考。
Even though you can't take advantage of CDATA sections in XHTML documents, XML is well-supported in browsers and regular programming platforms.
即使您不能在XHTML文档中利用CDATA的优势,XML仍然在浏览器和常规编程平台中受到很好的支持。
For instance, text nodes, CDATA sections, comments, processing instructions, attributes, whitespace, document types, and XML declarations have values.
例如,文本节点、CDATA部件、注释、处理指令、属性、空格、文档类型和XML声明具有值。
disable-output-escaping is an obscure feature in XSLT that serves only one purpose: it processes tags that appear in other tags, such as CDATA sections.
disable-output-escaping 是 XSLT中一项不那么引人注目的特性,它只有一个目的:处理那些出现在其他标记中的标记,例如 CDATA 节。
The CHARACTERS event is actually used to represent three types of text events: text that is the actual content (CHARACTERS), CDATA sections, and ignorable whitespace (space).
CHARACTERS事件实际上用于表示三类文本事件:实际内容的文本(CHARACTERS)、CDATA部分以及可忽略的空白(SPACE)。
I will revisit CDATA sections in the third article in this series, but for now, suffice it to say that they are less safe than escaping because one CDATA section cannot include another CDATA section.
本系列的第三篇文章中,我还将讨论cdata节,现在只要知道它们比转义更安全就足够了,因为cdata节不能包含另一个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.
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.
CDATA(字符数据)区域被解析器视为数据块,从而允许您在数据流中包含任意字符。
应用推荐