[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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" version="1.0"> <xsl:output method="xml" indent="yes" /> <xsl:template match="root"> <root> <xsl:for-each select="data[not(@name = preceding-sibling::data/@name)]"> <xsl:copy-of select="." /> </xsl:for-each> </root> </xsl:template> </xsl:stylesheet> 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 - -- Regards, Mukul Gandhi
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|