我也常常听到这样的说法,虽然XQuery的语法看起来更好,但是缺少XSLT模板风格的模式匹配。
I also often hear the claim that while XQuery syntax looks nicer, it lacks XSLT's template style pattern matching.
在这个宏执行时,它按照以下形式将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).
有一些模式是匹配输入的,而有一些模式是作为输出模板的。
Some patterns match the input, and other patterns act as templates for the output.
应用推荐