[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Filtering duplicate tags

Subject: Re: Filtering duplicate tags
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Tue, 27 May 2008 14:34:55 +0530
Re:  Filtering duplicate tags
Muenchian grouping will generally be faster for large data sets.

But here is probably a simple to understand 1.0 solution:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

  <xsl:output method="xml" indent="yes" />

  <xsl:template match="root">
      <xsl:for-each select="data[not(@name = preceding-sibling::data/@name)]">
        <xsl:copy-of select="." />


On 5/27/08, Buddhi D. Mahindarathne <buddhi@xxxxxxxxxxxxxxxxxxx> wrote:
> hi Mukul / All
> Can you please provide a Version 1.0 sample, because I am using this
> with Windows .Net 1.1 C#, there I am getting following error.
> " cannot be a child of " element
> - Buddhi -

Mukul Gandhi

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.