xsl-list
[Top] [All Lists]

Re: Using keys in templates

2004-07-13 07:39:03

Would it be possible to kill the if using a syntax like :

yes:

zap the rest:
<xsl:template match="module/dist"/>

handle the first:
<xsl:template match="module/dist[generate-id(.) = 
generate-id(key('dists',@name)]">
something
</xsl:template>



________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>