使用关键字template来申明类模板,template之后是模板参数列表(template parameter list),用尖括号括起来,之后是类申明或类定义。例如
基于16个网页-相关网页
定制骨架也可以用来修改方法名和generate方法的参数列表,这样非常挑剔的开发人员就可以任意定制模板。
Custom skeletons also allows you to change the method name and argument list for the generate method, so a sufficiently perverse developer can make very customized templates.
在XSLT v 2中,您不能将参数传递给未在其参数列表中定义的命名模板。
In XSLT v2, you can't pass a parameter to a named template that is not defined in its parameter list.
在参数列表中,具有默认值的泛型参数或模板参数后面不能是没有默认值的参数。
Generic or template parameters with default values cannot be followed in the parameter list by parameters that do not have default values.
应用推荐