使用获取参数的递归模板可以解决此问题。
A recursive template taking a parameter solves this problem.
迭代固定的次数是XSLT 1.0中可能需要使用递归模板的另一种形式。
Iterating a fixed number of times is another way you might have needed to use recursive templates with XSLT 1.0.
但是只能通过递归模板或者扩展函数来完成其他两种常见的操作:求最大值和最小值。
But, you can only accomplish two other popular operations on a set of Numbers, finding the minimum and maximum, by a recursive template or extension function.
应用推荐