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

Re: grouping problem

Subject: Re: grouping problem
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2001 14:13:50 -0400
Re:  grouping problem
Thomas,

Is the typo in the code you sent us, also in your running code?

<xsl:for-each select="//conept/@cid[not(. = following::concept/@cid)]">
                           ^ 'c' is missing here

Your general approach looks perfectly fine. There are ways to optimize this if performance bogs down on a large document.

Cheers,
Wendell

At 10:10 AM 9/20/01, you wrote:
Hi Folks,
           I am just trying to get the unique values
of  an attribute and just not getting it. I had
succcess in getting the unique values for elements
with the same expression.Am i missing something or is
there a different way to get the unique values for
attributes

<xsl:for-each select="//conept/@cid[not(. =
following::concept/@cid)]">
<xsl:value-of select="."/>
</xsl:for-each>

The above statement doesnot give me the unique values
of the @cid attribute.

Thanks
Thomas

__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

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


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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.