<xsl:template match="agg1">
<agg1>
<agg2>
<xsl:copy-of select="(agg2/tag1[string(.)])[1]"/>
</agg2>
</agg1>
</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
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list