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 8:06PM messages near this date
Re: [xsl] Handling Duplicate Lines in XSL | RE: [xsl] Select statement within HREF
Murali Korrapati wrote:
>  But I have a slightly different problem though.
>  
>  <xsl:for-each select="root[not(foo/bar = preceding-sibling::foo/bar)]">
>      <xsl:value-of select="."/><br/>
>  </xsl:for-each>

You probably want to select the foo instead of the root element:
  <xsl:for-each select="root/foo[not(bar = ../preceding-sibling::foo/bar)]"> 

>  but, it doesn't seem like working. 
Well, there are many ways to "not work". You should be
more specific, for example "no output" or "I got this
output ..."

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