ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] Handling Duplicate Lines in XSL
by J.Pietschmann other posts by this author
Oct 31 2003 10:02PM messages near this date
RE: [xsl] Handling Duplicate Lines in XSL | RE: RE: [xsl] XSLT Parameter error in ASP transformation 80070057
Murali Korrapati wrote:
>  that means it is returning all the values without suppressing the duplicate values

Well, made a thinko there. THe following should work better:
   <xsl:for-each select="root/foo[not(bar = preceding-sibling::foo/bar)]"> 

J.Pietschmann



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
Thread:
Murali Korrapati
J.Pietschmann

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved