|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: problems with copying duplicate nodes
Hi David
--- David Carlisle <davidc@xxxxxxxxx> wrote:
> It _needs_ to use a node-set function, but as posted
> you did not use it
> (you need common:node-set($rtf))
>
Had I to use the node-set function how would the
solution differ from the one that Mukul provided
below?
<xsl:for-each select="$rtf/temp/TD[generate-id() =
generate-id(key('by-td', .)[1])]">
<xsl:copy-of select="." />
</xsl:for-each>
Im interested in educating myself with the different
ways of solving a given problem so that I can optimise
my coding.
Would appreciate a response.
Thanks
Rahil
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








