[Home] [By Thread] [By Date] [Recent Entries]
On 28.09.2016 20:14, Rahul Singh rahulsinghindia15@xxxxxxxxx wrote:
I had tried with new xsl code insted of that for '*How XSL will work If we have more then one same record in XML, ignore them and extract only rest data. my xsl code handling only duplicate value, i need only that record which is not duplicate or more then one*'. Below is my new XSL: Use <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:key name="ccid" match="creation" use="id"/>
<xsl:template match="node() | @*">
<xsl:copy>
<xsl:apply-templates select="node() | @*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="creation[key('ccid', id)[2]]"/>
</xsl:stylesheet>
|

Cart



