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

Re: Removing Duplicates & Formatting

Subject: Re: Removing Duplicates & Formatting
From: JCS <subscriber@xxxxxxxxxxxxx>
Date: Thu, 11 Dec 2003 01:25:10 +1300
xpath removing duplicates
Hi David,

Thanks for the response. I tried it out, but I'm still getting the whole XML
tree--all the duplicates are still there. I tried playing around with
different axes (for no logical reason but to see if anything changed) but
nothing changed. Now I'm really stumped. I do understand the logic of it
though--it helped when I found Xlab over at ZVON.org to visualize the axes
relationships and practice using XPath.

/johnny :)



On 10/12/03 11:37 PM, "David Carlisle" <davidc@xxxxxxxxx> wrote:

> <xsl:variable name="n" select="name()"/>
> <xsl:if test="not(preceding-sibling::*[name()=$n])">
>         <xsl:call-template name="path"/><br/>
>     </xsl:if>

-- 
If you place a small value on your self, the rest of the world will not
raise the price. 


 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.