通过修改上下文节点简化样式表。
访问上下文节点是最常见的。
定位路径选定相对于上下文节点的一个节点集合。
A location path selects a set of nodes relative to the context node.
如果在上下文节点中有任何属性,它抛出一个错误。
Which raises an error if there is any attribute under the context node.
表达式是针对特定的上下文节点计算的,在这个例子中是整个文档。
The expression is evaluated with respect to a certain context node, which in this case is the entire document.
定界符“[|”和“|]”指定对上下文节点进行计算的XPath表达式。
The delimiters, "[|" and "|]", specify the XPath expression that is evaluated with respect to the context nodes.
默认情况下,会显示当前上下文节点上面的所有父节点和祖先节点。
By default, all parent and ancestor nodes above the current context node are displayed.
这个XPath表达式的上下文节点是模板替换的元素,在这里是ATOM元素。
The context node for this XPath expression is the element that the template is replacing — in this case, an ATOM element.
如果let出现在rule之外,其value以文档根作为上下文节点计算得到。
If let appears outside rule, its value is computed with the document root as context node.
要选择文档的某一部分,必须规定起始节点(称为上下文节点)和所选内容之间的路径。
To select some parts of a document, you specify a path between a starting node (called the context node) and the contents to be selected.
回想一下,当指定了初始上下文后,稍后将在该初始上下文节点的子节点内进行所有的搜索操作。
Recall that once the initial context has been specified, all later search operations take place within the child nodes of that initial context node.
虽然从上下文节点出发沿着某个轴仍然只能按照文档顺序返回节点,但是得到节点之后样式表可以根据需要重新排列节点。
Following an axis from a context node will still return nodes in document order, but once it has those nodes, your stylesheet can reorder them as it requires.
要计算XPath表达式,将表达式作为简单的String对象传递,并给定所支持的数据模型实例中的某个节点作为上下文节点。
To evaluate XPath expressions, passed as simple String objects, given a particular node in an instance of the supported data model to act as the context node.
谓词的工作原理类似于:对于每个节点,引擎使用上下文处理谓词。
The predicates work like this: for each node, the engine processes the predicate using that context.
可以通过对比手头的案例与已添加异常的节点中的案例来获得上下文。
The context is obtained by comparing the case at hand with the case in the node where an exception is being added.
指定初始上下文后,将在该节点的子节点中执行所有的搜索操作(例如查找特定用户)。
Once you specify the initial context, all later search operations (such as locating a particular user) take place within the child nodes of that node.
初始上下文是一个DN,它指定了LDAP目录内某个节点。
The initial context is a DN that specifies a particular node within the LDAP directory.
您可以决定对该节点和它所处的上下文进行何种操作。
It's up to you to determine what you do with that node, and the context within which it's positioned.
之所以这么做是因为右键单击上下文菜单绑定到整个树,而不是一个树节点。
This was done because the right-click context menu is bound to the entire tree as a whole, as opposed to one for each node of the tree.
点号(.)在这里称为上下文项表达式,可以是节点或者原子值,视处理的序列中的当前项而定。
The dot (.) is now known as the context item expression, and might be a node or an atomic value, depending on the current item in the sequence being processed.
一组支持类,用于处理变量的绑定、运行时上下文的管理以及与模板规则匹配的节点。
A set of supporting classes to handle binding of variables, management of the run-time context, and matching of nodes against template rules.
要想为部署组的最后一次部署生成报告,应该右键单击部署组节点并从上下文菜单中选择GenerateReport。
To generate a report for the last deployment of a deployment Group, right-click on the deployment Group node and select generate report from the context menu.
在DeploymentManager视图中,右键单击部署组节点并从上下文菜单中选择Deploy(图12)。
From the Deployment Manager view, right-click on the Deployment Group node and select Deploy from the context menu (Figure 12).
右键单击物理数据模型节点,然后从上下文菜单中选择Import。
Right-click on the physical data model node and select Import from the context menu.
可以使用位于视图的ChangeSet节点的上下文菜单来覆盖、提交或创建一个补丁。
You can use the context menu on the view's Change Set node to override, commit, or create a patch.
您可以使用DataConnections节点的上下文菜单直接从MicrosoftServerexplorer树创建或删除IDS数据库,或从特定数据连接节点创建或删除IDS数据库。
You can create or drop an IDS database directly from the Microsoft Server Explorer tree using context menus available on the data Connections node or from the specific data connection nodes.
右键单击非标准化多维逻辑数据模型节点,然后在上下文菜单中单击TransformtoPhysicalDataModel。
Right click the de-normalized dimensional logical data model node, and click Transform to Physical data model from the context menu.
要调用脚本设计程序,在Serverexplorer树中使用表、视图、存储过程和函数节点中的Show Script上下文菜单选项。
To invoke it, use the Show Script context menu option that is available on the table, view, stored procedure, and function nodes in the Server Explorer tree.
该表达式取得当前节点的title属性(要记住,在这里上下文很重要)并返回其值,然后输出这个值。
This one grabs the current node's title attribute (remember, the context is important here), and returns its value, which is then output.
如果上下文item未定义,您就无法从文档中选择节点。
If the context item is undefined, you have no way to select nodes from the document.
应用推荐