[Home] [By Thread] [By Date] [Recent Entries]
geirr.prestholdt@xxxxxxxxxxxxx wrote:
Hi, consider the following problem: A simple stylesheet removing the duplicates is <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template match="persons">
<xsl:copy>
<xsl:copy-of select="person[not(. = preceding-sibling::person)]"/>
</xsl:copy>
</xsl:template></xsl:stylesheet> -- Martin Honnen http://JavaScript.FAQTs.com/
|

Cart



