Subject: RE: Tags to HTML page
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 12 Aug 2004 14:52:20 +0100
|
> doesn't that falls in a kind of loop?
>
> Or does the apply-templates only apply to the childrens of
> the node being
> processed?
Correct. By default xsl:apply-templates processes the immediate children of
the context node. So this style of coding does a recursive walk of the tree
structure. It's recursive (which is "a kind of loop"), but it terminates,
because the tree has finite depth.
Michael Kay
|