相反,应该只使用嵌套度量的SQL表达式模板产生的表达式。
Rather, just the expression resulting from the SQL expression template should be used from the nested measures.
然后,对从SQL表达式模板产生的SQL表达式应用聚合,形成度量的SQL表达式。
Then apply the aggregation function to the SQL expression resulting from the SQL expression template to form the SQL expression for the measure.
先使用度量的聚合列表中的第一个聚合函数(在这个示例中是SUM)对表达式模板进行聚合,产生一个查询。
Start by generating the query using the first aggregation function (SUM in the example) in the measure's list of aggregations to aggregate the template expression.
按照与属性相同的方式,对列和属性标志进行替换,所以从SQL表达式模板产生的SQL表达式是。
Columns and attributes markers are substituted the same way as they are for attributes, so the SQL expression resulting from the SQL expression template will be.
这种方法的可移植性比xslt模板的稍微差点,但是您可以将该函数用作样式表中其它表达式的一部分。
This approach is a little less portable than XSLT templates, but you can use the function as part of other expressions in your style sheets.
可以很容易地将模板的动态内容部分替换为使用查询表达式指定正确模型节点的相应 、或标记。
The dynamic content sections of the template are easily replaced by the appropriate , or tags that use query expressions to target the correct model nodes.
这个表达式根据给定模板实例的属性值生成一个联合谓词。
This expression produces a conjunction of predicates based on the attribute values of the given template instance.
当启动新项目时,应该总是复制该模板并调试正则表达式。
When you start a new project, you should always copy this template and debug your regular expressions.
一个使用表达式的重要环境是在属性值模板中。
One important context in which expressions are used is in attribute value templates.
流程和活动自定义属性通过以下表达式提供对流程或活动实例或模板的自定义属性的访问。
Process and activity custom properties provide access to custom properties of the process or activity instance or template via the following expression.
可以通过在CAM模板规则中指定printmessage表达式来处理这样的场景。
Such scenarios can be handled by specifying a printmessage expression in the CAM template rules.
可以替换XPath表达式、指令、模板或者导入的样式表模块,以及其他构造函数,替换可以在不同的层次上进行。
You might replace an XPath expression, an instruction, a template, or an imported stylesheet module, among other constructs, and the replacement might be a different granularity.
syntax接受一个转换表达式(由模板变量和常量表达式组成)并返回产生的语法对象。
Syntax takes a transformation expression consisting of template variables and constant expressions and returns the resulting syntax object.
这个XPath表达式的上下文节点是模板替换的元素,在这里是ATOM元素。
The context node for this XPath expression is the element that the template is replacing — in this case, an ATOM element.
基本理解XPath表达式、模板的匹配方式和xslt递归算法之后,就可以创建简短的可维护的转换。
A basic understanding of XPath expressions, how templates are matched, and XSLT recursive algorithms will result in the creation of small, easy, and maintainable transforms.
Sitebricks模板中的表达式就像JSP那样简洁,但却通过一个类型推断算法进行静态的类型检查。
Expressions in Sitebricks templates are just as concise as JSP, but are statically type-checked using a type-inference algorithm.
我将模板匹配从 /修改为Invoice,这样就不需要在每个XPath表达式的开头部分重复根元素名称。
I've changed the match on the template from / to Invoice so that I don't have to repeat this root element name at the start of each XPath expression.
但是调用命名模板需要更多的XSLT指令,调用函数则更紧凑而且很容易嵌入到XPath表达式中。
However, to call a named template requires more XSLT instructions, while to call a function is more compact and can easily be embedded in an XPath expression.
第一个模板使用XPath表达式从
The first template uses an XPath expression to look up the value from the <http-params> section.
为了解决上述问题,您可能希望以某种方式在lookup模板中传递用于XSLTkey结果的XPath表达式。
To solve the problem I described in the last paragraph, you might try to somehow pass in to the lookup template an XPath expression to be used on the XSLT key result.
比方说,表达式中的变量引用将导致错误,即使元素确实位于变量有效的模板中。
For example, a variable reference in the expression results in an error even though the element is positioned in a template where the variable is in scope. Some key differences are.
在这个宏执行时,它按照以下形式将my - if表达式与模板进行匹配(换句话说,将宏调用与宏定义模式进行匹配)。
When this macro executes, it will match the my-if expression up to the template like this (in other words, matching a macro invocation to a macro definition pattern).
它们在运行时结合各自的模板和数据,动态地建立用户交互使用的表单表达式。
They combine the separate template and data at run time to dynamically build the form representation with which the user interacts.
然后,在最终的转换表达式中,就可以像其他任何模板变量一样使用这个新的模板变量。
Then, in the final transformation expression, the new template variable can be used like any other.
模板表达式除了目标属性的值以外,不应该改变应用的任何状态。
A template expression should not change any application state other than the value of the target property.
参数值可以是任何有效的模板表达式,比如字符串字面量或组件的属性。
The parameter value can be any valid template expression such as a string literal or a component property.
另一方面,基本报告包含有RationalDOORS筛选器表达式的列表,并向这些筛选器表达式的结果对象分配不同的模板。
The basic report, on the other hand, contains a list of Rational DOORS filter expressions, and assigns different templates to the result objects of these filter expressions.
和表达式一样,避免写复杂的模板语句。常规是函数调用或者属性赋值。
As with expressions, avoid writing complex template statements. A method call or simple property assignment should be the norm.
表达式的上下文可以包括组件之外的对象。模板引用变量就是备选的上下文对象之一。
The expression context can include objects other than the component. A template reference variable is one such alternative context object.
表达式的上下文可以包括组件之外的对象。模板引用变量就是备选的上下文对象之一。
The expression context can include objects other than the component. A template reference variable is one such alternative context object.
应用推荐