这是因为回退机制只能用于指令元素而不能用于声明。
That is because the fallback mechanism only works for instruction elements, not declarations.
正如先前提到的,XSLT使命名对象只在其样式表内是已知的,对指定元素名称、属性和它所创建的处理指令的能力也是如此。
As mentioned earlier, XSLT has named objects known only within its stylesheets, as well as the ability to specify the names of elements, attributes, and processing instructions that it creates.
这意味着满足条件的与不满足条件的向量元素执行的指令集不同。
This means that vector elements which match the criteria go through a different set of instructions than those that do not.
在两个版本的XSLT中第2层的元素都称为指令。
The elements at level 2 are called instructions in both versions of XSLT.
因此可以编写精确的表达式来表示元素和元素值,以及属性、处理指令等等。
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.
关于XSLT中的“指令”和“声明”元素请参阅结构表和后面的说明。
See the structure table and the following remarks for details about "instruction" and "declaration" elements in XSLT.
这两条指令对自己的两个操作数逐元素进行比较。
These instructions perform element-by-element comparisons of their two operands.
结构表(表2)的最后一行列出了那些作为特定指令或声明元素的附加成分出现的元素。
The last row of the structure table (table 2) lists those elements that occur as subsidiaries to particular instruction or declaration elements.
消息泵解析xml指令,并设置输入页面中的元素。
The message pump parses the XML instructions and sets the elements in the input page.
该方法在解析只含元素的内容时很有用,如果在发现标记之前遇到非空白文本(不包括注释或处理指令),就会抛出异常。
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.
本文使用指令、声明或扩展元素等术语对样式表元素和属性作更精确地分类。
This article USES terms such as instructions, declarations, and extension elements to classify the elements and attributes of a stylesheet more precisely.
第2层也会出现文字结果元素(LRE),这些元素将被复制到结果中而不是作为处理程序指令。
Level 2 is also where Literal result elements (LREs) occur, which are elements that are to be replicated in the result rather than serving as instructions to the processor.
没有名称空间的元素是数据,除了那些被识别为指令的元素外,所有拥有一个名称空间的元素都与其相同,即都是数据。
Elements that have no namespace are data, as are all elements that have a namespace other than those recognized as instructions.
注意,有些讨论也与把文本、注释和处理指令当作兄弟元素的情形有关,但是本文仅讨论元素。
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.
因此,xsl:fallback元素应该包含替换包含它的单一指令所需要的全部内容。
Therefore, the xsl:fallback element should contain whatever is needed to substitute for the single instruction that contains it.
root - level模板的工作原理与散点图示例中的工作原理相同,它将呈现元素的指令,然后调用showpage以呈现图形缓冲的内容。
The root-level template works the same as that in the scatter plot example, rendering instructions for the elements and then calling showpage to render the contents of the graphics buffer.
该指令接受一个称为select 的属性和您感兴趣的RSS或Atom元素的路径。
The instruction takes one attribute called select with a path to the RSS or Atom element that you're interested in.
我们开发了一个财务数据集市,然后展示了Finance如何发送逻辑指令,如何使用它们的数据元素进行财务分析。
We developed a financial datamart, then showed Finance how to logically order and use their data elements for financial analysis.
在第一个td元素,您会注意到Exhibit的第一个特定指令属性ex:role。
In the first td element you'll notice the first special instruction attribute for Exhibit, ex: role.
从列表的第一个元素获取数据的函数称为car(这个名字是古老的汇编语言指令的延续)。
The function to retrieve the data from the first element of a list is called car (a name which is a holdover from an ancient assembly language instruction).
可以使用“rename”操作给元素、属性或处理指令节点指定一个新名称。
You can use the "rename" operation to give an element, attribute, or a processing-instruction node a different name.
我使用ex:content指令生成元素内容。
I generate element content by using an ex: content instruction.
首先,必须修改chapter 1 . xml文件以删除xml预处理指令和DOCTYPE元素。
First, the you must modify the chapter1.xml file to remove the XML preprocessing directive and the DOCTYPE element.
处理程序将忽略xsl:fallback之外的所有子元素,并按照顺序执行这些指令。
The 1.0 processor simply ignores all children except the XSL: fallback elements and executes those in order.
如果xsl:function元素具有xsl:fallback指令,则XSLT 1.0处理程序将完全忽略x sl: function元素,不执行其xsl: fallback。
If an XSL: function element has an XSL: fallback instruction, then an XSLT 1.0 processor ignores the XSL: function element entirely and does not execute its XSL: fallback.
然而,问题是向量处理会假设每条指令都可以适用于向量的所有元素。
However, the problem is that vector processing assumes that each and every instruction will be applied to all elements of the vector.
扩展指令可以支持标准属性或者允许将XSLT指令作为子元素,由实现处理程序的厂商决定。
Extension instructions can support the standard attributes or allow XSLT instructions as children, at the discretion of the vendor implementing the processor.
把处理器设置成将来自一个或两个特定名称空间的元素当作指令。
The processor is set up to consider elements from a particular namespace (or two) to be the instructions.
问题是为了对代码进行向量化,代码必须要对所有向量元素都按照相同的指令集执行。
The problem was that in order to vectorize the code, the code must follow the same set of instructions for each member of the vector.
应用推荐