关键是第二行中的样式表处理指令(PI)。
The key is the stylesheet processing instruction (PI) in the second line.
处理指令只是一种执行的手段。
通常不使用处理指令或者PI。
关键是第二行中的样式表处理指令(PI)。
The second line is key, the stylesheet processing instruction (PI).
可能包含多个文本节点,以及注释和处理指令。
It might contain several, as well as comments and processing instructions. For instance, it could look like this.
样式表处理指令提供显示XML的基本指令。
The stylesheet processing instruction provides basic instructions for displaying the XML.
属性值、注释或者处理指令的内容比1.0中更多。
An attribute value, comment, or the content of a processing instruction has more in it than it did in 1.0.
有了 tokenizer,就很容易译码处理指令。
With the tokenizer, it is easy to decode the processing instructions.
清单1给出了一个忽略所有XML处理指令的事件过滤器。
Listing 1 shows an event filter that skips all XML processing instructions.
不过,我将忽略正确的转义、处理指令和其他少数几个方面。
However, I'll skip handling proper escaping, processing instructions, and a few other aspects.
一次用于处理指令,另一次是使用XSLT处理器。
Once for the processing instructions, and once more with the XSLT processor?
处理指令将样式表(xsl或css)与XML文档相关联。
The processing instruction associates a style sheet (either XSL or CSS) with XML documents. For example.
不过,处理指令与HTML文档的级联样式表(CSS)类似。
However, processing instructions are similar to cascading style sheets (CSS) for HTML documents.
我同意Harold的观点,处理指令可能非常有用。
简而言之,软件包就是一个文件及文件处理指令的集合。
To put it very simply, a package is a collection of files with instructions on what to do with them.
请注意,第二行是一条xml - stylesheet处理指令。
Note the second line is an xml-stylesheet processing instruction.
W3C没有提议一种机制,所以定义新的处理指令似乎也就不足为奇了。
The W3C has not proposed a mechanism, but it seems logical to define new processing instructions.
即使这样改进之后,代码还是会在注释、处理指令和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.
processingInstruction将处理指令通知应用程序。
ProcessingInstruction notifies the application of processing instructions.
因此可以编写精确的表达式来表示元素和元素值,以及属性、处理指令等等。
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.
每个CDATA部分、注释、处理指令和非叶节点都被分配一个二进制代码字。
Each CDATA section, comment, processing instruction, and non-leaf node is assigned a binary codeword.
可以使用“rename”操作给元素、属性或处理指令节点指定一个新名称。
You can use the "rename" operation to give an element, attribute, or a processing-instruction node a different name.
与级联样式表相似,这种类型的处理指令是可选的,甚至对于转换工具来说也是这样。
Like a cascading style sheet, this type of processing instruction is optional, even for a transformation tool.
一些限制在于每个文档的不同标记限制为 253 个,并且不处理属性和处理指令。
Some limitations are that each document is limited to 253 distinct tags, and that attributes and processing instructions are not handled.
为实现标记转换而设置的处理指令也 可以删除;但必须保留所有其他的处理指令。
Processing instructions intended for the tokeniser MAY be removed; all other processing instructions MUST be preserved.
nodeType是代表节点类型的整数——例如,2代表属性节点,7代表处理指令。
NodeType is an integer representing the node type — for example, 2 for an attribute node and 7 for a processing instruction.
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项,如处理指令目标和实体,不能拥有用名称空间限定的名称。
The other XML items that can be named, such as processing-instruction targets and entities, cannot have a name qualified with a namespace.
应用推荐