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

duplicate problem..

Subject: duplicate problem..
From: Paul Tomsic <ptomsic@xxxxxxxxx>
Date: Sun, 4 Jan 2004 14:26:19 -0800 (PST)
duplicate data in statistics
I'm looping across:
  <Chapter_group>
    <Chapter id="7" isbn="0-324-12175" name="Data And
Statistics" original_number="0" page_count="25" />
    <Chapter id="8" isbn="0-324-12175" name="Data And
Statistics" original_number="1" page_count="25" />
    <Chapter id="9" isbn="0-324-12175"
name="Descriptive Statistics: Tabular And Graphical
Methods" original_number="2" page_count="53" />
 </Chapter_group>

with this:
	<xsl:variable name="unique-chapter-name-list"
select="//Chapter_group/Chapter[not(./@name =
following::./@name)]"/>


it's still showing them all  regardless of whether the
next @name is the same as the previous one.

Any help greatly appreciated.

thanks
paul


__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.