[xsl] matching question

Subject: [xsl] matching question
From: Garvin Riensche <g.riensche@xxxxxxx>
Date: Wed, 06 Aug 2008 12:25:16 +0200
Hello,

I have a question about the pattern "node()" when used in a template "match" Attribute. I thought that it would always match all nodes in the source file, but it matches only all nodes when the corresponding template is called from apply-templates. If it stands alone only the "root" node is matched. What's the reason for that behavior? Is it because the first matching element is the root element and the others are descendants of it?

regards,
Garvin

Current Thread