RE: Building a nodeset by recursion

Subject: RE: Building a nodeset by recursion
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 21 Jul 1999 13:08:51 +0100
> > I think this construct will always set the variable top-level to a
> > string; I need to set it to a node-set.
> No it'll be a result tree fragment won't it?

Yes, you're right.

>  You can't (unfortunately:-) use a result tree fragment as a source tree 
> for a run with apply-templates, or deconstruct the list in any way.

Indeed this is the problem. The key operation in XSL, of applying templates,
does not exhibit "closure", in that its output cannot be used as the input
to further operations. This makes it analogous to early database
manipulation languages before SQL was invented...

Mike Kay

 XSL-List info and archive:

Current Thread