[xsl] duplicate problem..

Subject: [xsl] duplicate problem..
From: Paul Tomsic <ptomsic@xxxxxxxxx>
Date: Sun, 4 Jan 2004 14:26:19 -0800 (PST)
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