xsl-list
[Top] [All Lists]

Re: Removing Duplicates & Formatting

2003-12-10 05:25:10
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(_at_)nag(_dot_)co(_dot_)uk> 
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