RE: [xsl] Conditional document merge

Subject: RE: [xsl] Conditional document merge
From: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx>
Date: Tue, 28 May 2002 16:18:07 -0500
> If I could do something like:
>	 select="$doca/$varname[position()+1]"
> that's
>	 select="$doca/*[name()=$varname]/following-sibling::*[1]
> if all your varname elements are siblings, as I think they are.

Ah, conceptual problem on my end.  I actually need:


at the point I'm doing the test, but that works, many thanks.  I kept trying
to find some way to use "following-sibling" as a prefix to the whole thing,
thinking that you don't want to filter to the node matching the name,
because then there isn't a following-sibling any more: of course there is;
it's an orthogonal axis...

 XSL-List info and archive:

Current Thread