请注意,在查询10中多获得了一行,这是因为SQL的groupby函数还为null值生成一个组,我们的示例表中有一名员工没有办公室信息。
Note that we get an extra row from Query 10, because SQL's group by also produces a group for NULL values, and there is one employee in our sample table with no office information.
稍后,样式表在函数中生成调用,并再次将值传递给脚本(通过XSLTposition函数),如清单7中以蓝色突出显示的行所示。
Later the style sheet generates calls into the function and, again, passes a value to the script (through the XSLT position function), as shown in the lines of Listing 7 highlighted in blue.
在updatecatalog函数中,获取表单字段值,并创建一条sql语句,以便将一行添加到数据库表Catalog中。
In the updateCatalog function, retrieve the form field values and create an SQL statement to add a row to database table Catalog.
GENROW表函数会生成在IN 谓词的 <VALUELIST> 中所列的值。
The GENROW table function produces the values listed in the <VALUE LIST> of the IN predicate.
上下文是简单的变量和表达式所需的函数,将返回一个值,并且赋值给标识,包括在符号表中的。
A context is simply the variables and functions that are needed by the expression to return a value, and are assigned to the identified included inside the Symbol Table.
上下文是简单的变量和表达式所需的函数,将返回一个值,并且赋值给标识,包括在符号表中的。
A context is simply the variables and functions that are needed by the expression to return a value, and are assigned to the identified included inside the Symbol Table.
应用推荐