Subject: Re: [xsl] Confusing trace from Saxon HE9|
From: Jeroen Hellingman <jeroen@xxxxxxxx>
Date: Tue, 08 Dec 2009 23:06:18 +0100
That is correct, since it is part of a whole, which includes about 15 XSL files. I'll try to isolate the issue in a smaller single-file XSL sheet for this list.
Your stylesheet doesn't compile standalone because of missing template rules, which indicates to me there are other fragments at play.
Expose your $node variable after you assign it and see where it gets more than one node in it.Furthermore, the failing template receives two nodes in a variable that I hardly expect to be grouped together. In the source document they are not even siblings.