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.
这种方法的可移植性比xslt模板的稍微差点,但是您可以将该函数用作样式表中其它表达式的一部分。
You can use Boost static assertions in a class, function, or namespace scope; you can also use them with templates.
您可以在类、函数或命名空间范围中使用Boost静态断言;还可以与模板一起使用它们。
We use XSL: apply-templates on the results of the function, and display each software item in the template that matches on Statement, as shown in Listing 4.
如清单4所示,我们根据函数的结果使用xsl: apply -templates,并且显示模板内每个在Statement上匹配的软件项。
Fortunately through the use of graph templates, it is not necessary to understand the function of each field to create graphs for your network.
有幸的是,通过使用图形模板,不必要明白每个字段的功能,就可为你的网络创建图形。
Use this to dynamically register prefilters to run templates through before they are compiled. See template prefilters for more information on how to setup a prefiltering function.
注册一个在模板编译之前执行的预过滤器。如何设立预过滤函数,请查看模板预过滤器。
Use this to dynamically register prefilters to run templates through before they are compiled. See template prefilters for more information on how to setup a prefiltering function.
注册一个在模板编译之前执行的预过滤器。如何设立预过滤函数,请查看模板预过滤器。
应用推荐