This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Conditional document merge
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 28 May 2002 22:00:12 +0100
- Subject: Re: [xsl] Conditional document merge
- References: <601F6322AD71D5118D6C0003472515290660CE96@sjmemexc1.stjude.org>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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.
or probably quicker to use keys.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list