xsl-list
[Top] [All Lists]

RE: Tags to HTML page

2004-08-12 06:52:20

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



<Prev in Thread] Current Thread [Next in Thread>