|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Removing Duplicates
From: "Michael Kay" <mhkay@xxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: Removing Duplicates Date: Fri, 2 Feb 2001 09:42:57 -0000 Message-ID: <001501c08cff$201881c0$9c0a3c3e@oemcomputer> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal In-Reply-To: <a0500194cb69fa415da6f@[192.168.254.9]> I want to remove duplicate nodes by looking at an attribute There are two basic approaches: (a) the simple approach is along the lines of select="element[not(@attr=preceding::element/@attr)]" (b) the Muenchian approach, using keys. This is more powerful and more efficient but requires a bit more coding. See www.jenitennison.com for details. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








