ascii流,用于ASCII字符数据。
当描述混合内容时,根本无法约束字符数据。
When describing mixed content, the character data cannot be constrained in any way.
标记之间的内容,包括空白,称为字符数据。
The content between the tags, including the white Spaces, is referred to as character data.
XOP使用Base64编码的字符数据内容。
unicode流,用于Unicode字符数据。
char类型被用来表示字符数据,在第8章会讲到。
The type char is used to represent character data and is covered in Chapter 8.
树的根是文档本身,每个节点对应于一个元素或字符数据。
The root of the tree is the document itself, and each node corresponds to an element or character data.
因此,理解字符组成对编写应用程序处理多字节字符数据非常重要。
Therefore, it is important to understand what constitutes a character for writing applications that involve multi-byte character data.
除了数值类型,数据库中最常用的保存数据的另一个类型是字符数据。
In addition to numerical data, the other most popular type of data to store in a database is character data.
文本不仅仅是叶子元素或者属性中的主要成分——技术上称这类文本为字符数据。
Text is not merely what goes within leaf elements or within attributes — technically called character data.
如果愿意使用EXSLT扩展(请参阅参考资料),还可以进一步控制字符数据。
You can control character data even more closely if you're willing to use EXSLT extensions (See resources).
清单3 中的XSLT脚本用长度相同但仅包含空格的节点代替所有字符数据。
The XSLT script in Listing 3 replaces all character data with a node of the same length comprising only spaces.
在Unicode数据库中,所有的表都使用Unicode编码方案存储字符数据。
In a Unicode database, all the tables store character data using the Unicode encoding scheme.
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.
但是cookie的最大缺点是他们只能存储字符数据,而我们希望将信息保留在对象中。
The biggest drawback with cookies, though, is that they can store only character data and we wanted to retain our information in objects.
如果彻底删除字符数据过于极端,希望至少保留每个节点的长度,可以使用清单1的一个变体。
If complete removal of the character data is too extreme and you want to preserve at least the length of each node, a variation on Listing 1 might be useful.
Unicode数据库只以unicode格式存储字符数据,并不以unicode格式显示数据。
A Unicode database only stores character data in Unicode format, and it does not display the data in Unicode format.
Harold的建议主要针对的是标记(如标签名)而不是字符数据,他还认为必须将字符数据本地化。
Harold's suggestion centers around the mark-up (such as tag names), rather than the character data, which he admits has to be localized.
Derby提供了保存字符数据的两个简单技术:char类型和varchar类型,详情如表3所示。
Derby provides two simple techniques for storing character data: the char type and the VARCHAR type, which are detailed in Table 3.
DB 2还允许在非unicode数据库中的unicode表中使用unicode格式存储字符数据。
DB2 also allows you to store character data using the Unicode format in a Unicode table within a non-Unicode database.
虽然XSL擅长处理输入文档中的元素和属性中的名称空间,但在属性值和字符数据中处理名称空间则有些欠缺。
While XSL is adept at handling namespaces on both elements and attributes in the input document, its constructs for dealing with them inside attribute values and character data are somewhat weak.
parseElementText (ns,name) -解析下一个元素,它必须只包含字符数据内容。
ParseElementText (ns, name) — Parses the next element, which must have only character data content.
它适用于字符数据类型以及COLLATING_SEQUENCE服务器选项没有被设为“Y”的那些数据源。
It applies to character data types and those data sources for which the COLLATING_SEQUENCE server option is not set to 'y.'
description列是长度可变的字符串,所以它预计是一个字符串(通过将字符数据括在单引号中指明)。
The description column is a variable-length character string, so it expects a string (which you indicate by enclosing the character data within single quotes).
parseContentText(ns,name) -解析完当前元素的尾部,它必须只包含字符数据内容。
parseContentText(ns, name) -- Parses past the end of the current element, which must have only character data content.
对于在循环中使用简单的数字或字符数据的代码来说,Pyrex的加速效果非常明显,在最佳情况中,可能会是50倍。
For code that works with simple numeric or character data in tight loops, Pyrex can produce significant speedups, maybe 50 times the speed in best cases.
然而,如果列是字符数据类型,并且只包含数字字符,那么可以通过将NUMERIC_STRING选项设置为“Y”来表明这一点。
However, if the column is a character data type and contains only numeric characters, you can indicate this by setting the NUMERIC_STRING option to 'y.'
VARCHAR列的最大长度看起来可能足够大了,但是Derby 还提供了更大的字符数据类型,这个类型将在未来的文章中讨论。
The maximum length for a VARCHAR column may seem sufficiently large, but Derby provides larger character data types, which will be discussed in a future article.
本系列的第三篇文章探索Python类型的层次结构 —— 使用字符串介绍了 Python string,这也是一个不可变的序列,但仅针对字符数据。
The third article in this series, " Exploring the Python type hierarchy, Introducing Strings," introduces the Python string, which is also an immutable sequence, but only for character data.
这是一个问题,尤其是在迁移到使用UCS-2 格式(这种格式使用GRAPHIC/VARGRAPHIC数据类型)存储字符数据的Unicode数据库时。
This is problematic, particularly when the migration is to a Unicode database that is designed to store character data in UCS-2 format that uses the GRAPHIC/VARGRAPHIC data types.
应用推荐