字符实体—清单1。
在进行其他实体相关的解析之前,将首先替代字符实体。
Character entities are replaced first, before any other entity-related parsing happens.
如上一小节所述,字符实体等同于在文档中直接输入的引用字符。
As you'll recall from the previous section, the character entities are the same as if you'd typed the referenced character directly into the document.
XAML将XML中所定义的字符实体用于特殊字符。
XAML USES character entities defined in XML for special characters.
对xml解析器而言,字符实体与直接输入指定字符的效果完全相同。
As far as the XML parser is concerned, character entities are exactly the same as if you'd typed the specified character directly.
替代文本可以包含字符实体、命名实体和元素等,但不包含参数实体。
The replacement text can include character entities, named entities, elements, etc. but not parameter entities.
答:我认为如果愿意的话,字符实体这个被紧密关注的小问题是可以得到解决的。
A: I think the character entity is a small, tightly-focused problem that could be solved if there was the will to do so.
如果想将其表示为一个字符实体,可以输入a(十进制值)或A(十六进制值)。
If you wanted to represent it as a character entity, you can type a (the decimal value) or a (the hexadecimal value) instead.
本主题描述XAML中的一些特定字符实体和其他XML概念的常规注意事项。
This topic describes some specific character entities and general considerations for other XML concepts in XAML.
有关HTML4中全部的字符实体引用信息,请参阅字符引用完全列表部分。
Please consult the full list of character references defined in HTML 4.
所有其他非字符实体类型都被忽略,而且不进行检验,即使对于内部子集中的声明。
All other non-character entity types are ignored, and no validation is performed, even for declarations within the internal subset.
所有的文本和字符实体都必须转换成字符串(如str_i)或实体(ENTITY)标记。
All text and character entities MUST be converted to string (e.g., STR_I) or entity (entity) tokens.
请注意,我们必须将输出方法设置为text,这样它才有正确的格式文本(而且字符实体不被转义)。
Notice that we had to set the output method to text so that it is properly formatted (and the character entities are not escaped).
XAML标记通常使用与XML中所定义的字符实体和转义序列相同的字符实体和转义序列。
XAML markup typically USES the same character entities and escape sequences that are defined in XML.
字符实体类似于C编程语言中的三联符(trigraphs):只是特定字符的替代表示。
They're similar to trigraphs in the C programming language, just an alternate representation of a specific character.
有的人不想要文章,更喜欢使用一个延伸的字符,或者HTML字符实体来引导读者阅读整篇文章。
Some people do not want the text and prefer to use an extended character or HTML character entity to move the reader on to the full post.
正如上面所提到的那样,用于编写XAML标记的大部分字符实体和转义序列都是由xml定义的。
As mentioned previously, most character entities and escape sequences that are typically used to write XAML markup are defined by XML.
对XML文档编码可以缩小文档的大小,但是并没有限制文档使用特定的unicode子集,这要感谢字符实体。
Encoding XML documents can reduce their size, but it does not limit the document to a subset of Unicode — thanks to the magic of character entities.
为了避免误解,我们再说明一次,强制采用某种编码不能解决问题,因为如上所述,可以将特殊字符转义成字符实体。
To avoid misunderstanding, let me state again that imposing an encoding is not a solution because, as explained above, it is always possible to escape special characters to character entities.
说明用于转义特殊字符或保留字符的XML字符实体,这些字符用于描述XML文档中标记和节点的边界。
Describes XML character entities for escaping special or reserved characters that are used to delineate markup and node boundaries within the XML document.
如清单1(它是一块XHTML 1.0SpecialCharacters声明)所示,命名实体由字符实体替代。
As you can see in Listing 1, which is a hunk of the XHTML 1.0 Special Characters declaration, the named entities are replaced by character entities.
应用程序员使用的xmllib可以覆盖xmlparser类,并提供处理文档元素(如特定或类属标记,或字符实体)的方法。
The xmllib works by the application programmer overriding the class XMLParser, and providing methods to handle document elements such as specific or generic tags, or character entities.
实体可以是文本短语或特殊字符。
它确实能够正确地将特殊字符转义作为文本中的实体处理,但除此之外,则需要调用程序正确使用该接口。
It does properly handle escaping special characters as entities in text, but other than that it's up to the calling program to use the interface properly.
如果要在文本中使用符号,必须使用它的字符代码将它设置为实体。
To use a symbol in your text, you must set it up as an entity using its character code.
任何允许外部实体来输入数据的程序都容易受到恶意的攻击,例如缓冲区溢出和嵌入式控制字符。
Any program that allows an external entity to input data is vulnerable to malicious activity, such as buffer overflows and embedded control characters.
基于XML的标准(比如XHTML)定义了一个有用的实体库,这使得创建包含不能在标准键盘上直接输入的字符的文档成为可能。
XML-based standards like XHTML define a library of useful entities that make it possible to create documents with characters that you can't type directly on standard keyboards.
后续的平面用于附加字符或其它还没有发明的编码实体。
Subsequent planes are used for additional characters or other coded entities not yet invented.
后续的平面用于附加字符或其它还没有发明的编码实体。
Subsequent planes are used for additional characters or other coded entities not yet invented.
应用推荐