Re: [xsl] problems with copying duplicate nodes

Subject: Re: [xsl] problems with copying duplicate nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Jun 2005 13:29:40 +0100
  Im getting the output just as I wanted but Im
  intrigued about the functionality of the <temp> node
  and how it eliminated the duplicates at a later stage.

It's not actually needed, you could not add a temp node there and 
use $rtf/temp/TD[ $rtf/TD[ later.

the point is that keys work on a per-document basis and by building a
temporary tree you are copying teh nodes in to a temporary (virtual)
document.

grouping with keys though is essentially an XSLT1 mechanism replaced in
xslt2 by xsl-for-each-group which has a rather more natural syntax.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread