Listing 3 is a rewrite of Listing 2 that makes the tree walking more explicit.
清单3是对清单2的改写,它使得树的遍历算法更明显。
Therefore XSLT has a built-in tree walking engine that, by default, processes the entire document.
因此XSLT具有内置的遍历引擎,在默认情况下会处理整个文档。
Instead of relying on the processor to operate the walk, this stylesheet has a named template, main, that implements the tree walking.
为了避免依靠处理程序操作树,这个样式表有一个命名模板main实现了树的遍历。
应用推荐