注释是没有意义的,使用注释并将其中的信息作为指令处理的API是危险的。
Comments are not meaningful, and it's very dangerous to have an API that consumes comments and treats the information in them as instructions.
然而,并非所有指令都可以支持所有的向量类型——这取决于汇编语言指令处理向量的能力。
However, not all vector types are supported by all instructions — it is based on the availability of assembly language instructions to handle it.
在报价驱动交易机制下,买卖价差由指令处理成本、存货成本和非对称信息成本构成。
In a quote-driven market, bid-ask spread is composed of order processing costs, stock holding costs and asymmetric information cost.
关键是第二行中的样式表处理指令(PI)。
The key is the stylesheet processing instruction (PI) in the second line.
几个SPU指令只能处理这些寄存器值中的一个。
It turns out that several SPU instructions deal with only one of the register's values.
样式表处理指令提供显示XML的基本指令。
The stylesheet processing instruction provides basic instructions for displaying the XML.
程序员的职责是编码必要的指令来处理IO操作并提供适当的结果。
It is the programmer's responsibility to code the necessary instructions to process the IO operation and to provide the appropriate results.
关键是第二行中的样式表处理指令(PI)。
The second line is key, the stylesheet processing instruction (PI).
processingInstruction将处理指令通知应用程序。
ProcessingInstruction notifies the application of processing instructions.
不过,我将忽略正确的转义、处理指令和其他少数几个方面。
However, I'll skip handling proper escaping, processing instructions, and a few other aspects.
不过,处理指令与HTML文档的级联样式表(CSS)类似。
However, processing instructions are similar to cascading style sheets (CSS) for HTML documents.
即使这样改进之后,代码还是会在注释、处理指令和cdata节上出错。
Even with this improvement, your code can still trip on comments, processing instructions, and CDATA sections.
您将用户引导向包含处理指令的XML文件,应用XSLT转换。
You point the user to the XML file which contains a processing instruction to apply an XSLT transform.
清单1给出了一个忽略所有XML处理指令的事件过滤器。
Listing 1 shows an event filter that skips all XML processing instructions.
例如,文本节点、CDATA部件、注释、处理指令、属性、空格、文档类型和XML声明具有值。
For instance, text nodes, CDATA sections, comments, processing instructions, attributes, whitespace, document types, and XML declarations have values.
可能包含多个文本节点,以及注释和处理指令。
It might contain several, as well as comments and processing instructions. For instance, it could look like this.
因此可以编写精确的表达式来表示元素和元素值,以及属性、处理指令等等。
So you can write concise expressions that consider not only elements and element values, but also attributes, processing instructions, and so on.
节点可以是一段文本(比如元素的内容)、一个元素、一条处理指令或者注释。
A node can be a piece of text (such as an element's content), an element, or a processing instruction or comment.
一些限制在于每个文档的不同标记限制为 253 个,并且不处理属性和处理指令。
Some limitations are that each document is limited to 253 distinct tags, and that attributes and processing instructions are not handled.
使用svcs和svcadm命令,可以引入此概念,通过简单的启动、停止指令来处理inetd和NFS这样的内容。
Using commands like SVCS and svcadm, this concept was brought in to handle things like inetd and NFS with simple start-and-stop directives.
每个CDATA部分、注释、处理指令和非叶节点都被分配一个二进制代码字。
Each CDATA section, comment, processing instruction, and non-leaf node is assigned a binary codeword.
最知名的例子可能是SOAP。它不允许处理指令、文档类型声明和任何内部DTD子集。
The best-known example is probably SOAP, which disallows processing instructions, document type declarations and any internal DTD subset.
与级联样式表相似,这种类型的处理指令是可选的,甚至对于转换工具来说也是这样。
Like a cascading style sheet, this type of processing instruction is optional, even for a transformation tool.
注意,有些讨论也与把文本、注释和处理指令当作兄弟元素的情形有关,但是本文仅讨论元素。
Notice that some of the discussion will also be pertinent to cases where you have text, comments, and processing instructions as siblings of elements, but this discussion focuses solely on elements.
注意,位于顶部的 xml-stylesheet处理指令将指示浏览器使用XSLT。
Notice the xml-stylesheet processing instruction at the top which instructs the browser to use XSLT.
RFC在4.5和4.6节讨论内容结构,就何时使用处理指令和注释提供了非常合理的建议。
The RFC moves on to coverage of content constructs with sections 4.5 and 4.6, which offer very sensible advice on when to use processing instructions and comments.
XML文档的第二行是一个处理指令,它包含了要用于该文档的xslt样式表的URL。
The second line of the XML document is a processing instruction containing the URL of the XSLT style sheet that is to be used on it.
一条处理指令包含一个目标(在上面示例中,xml - stylesheet),后跟数据。
A processing instruction contains a target (xml-stylesheet in the above example), followed by data.
nodeType是代表节点类型的整数——例如,2代表属性节点,7代表处理指令。
NodeType is an integer representing the node type — for example, 2 for an attribute node and 7 for a processing instruction.
该方法在解析只含元素的内容时很有用,如果在发现标记之前遇到非空白文本(不包括注释或处理指令),就会抛出异常。
This method is useful when parsing element-only content; if it encounters non-white-space text before a tag is found (other than comments or processing instructions), it throws an exception.
应用推荐