[Home] [By Thread] [By Date] [Recent Entries]
You should be able to "loop" on "doc", sorted by "address" and generate
an "address" element for the first "doc" with a certain address. Not
very efficient, but it should do the job:
<xsl:template match="/docs"> <xsl:for-each select="doc"> <xsl:sort select="@address" data-type="text"/> <xsl:variable name="this-address" select="@address"/> <xsl:if test="position()=1 or preceding-sibling::doc/@address != $this-address"> <xsl:address val="{$this-address}"> <xsl:apply-templates select="../doc[@address = $this-address}"/> </xsl:address> </xsl:if> </xsl:for-each> </xsl:template> <xsl:template match="doc"> <!-- process doc --> </xsl:template> Regards, Raffaele Sena ------------------- On Monday, March 22, 2004, at 08:58 AM, Hilder Sousa wrote: Hi :)
|

Cart



