No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
1 Posted Topic
precedent sibling could do the work :) <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:invoker="http://xml.apache.org/xalan/java/vf.bis.xsltc.ServiceInvoker" exclude-result-prefixes="xs xsi invoker"> <xsl:output method="xml" omit-xml-declaration="yes" encoding="iso-8859-1" indent="yes" /> <xsl:template match="/ | @* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()" /> </xsl:copy> </xsl:template> <xsl:template match="product"> <xsl:if test="not ( (preceding-sibling::*/@name) = @name)"> <xsl:copy> <xsl:apply-templates select="@* | node()" /> …
The End.
alamelu