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

RE: Getting a unique list - one more try at emailing t

Subject: RE: Getting a unique list - one more try at emailing this
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sat, 7 Aug 2004 00:34:04 +0100
one more try
> I'd like to know how to print a unique list of states from 
> the data set 
> below.  Thanks in advance.

Getting distinct values is a special case of grouping: see
http://www.jenitennison.com/xslt/grouping

Michael Kay


> 
> A newbie.
> 
> <data>
> <level name = "starter">
>     <process name = "TR">
>        <state name = "NY">143</state>
>        <state name = "CA">19</state>
>        <state name = "FL">215</state>
>     </process>
>     <process name = "PD">
>        <state name = "NY">61</state>
>        <state name = "CA">721</state>
>        <state name = "FL">518</state>
>     </process>
> </level>
> <level name = "mediumr">
>     <process name = "TR">
>        <state name = "NY">709</state>
>        <state name = "CA"1285</state>
>        <state name = "FL">52</state>
>     </process>
>     <process name = "YF">
>        <state name = "NY">8</state>
>        <state name = "CA">0</state>
>        <state name = "FL">9</state>
>     </process>
> </level>
> </data>
> 
> _________________________________________________________________
> Check out Election 2004 for up-to-date election news, plus 
> voter tools and 
> more! http://special.msn.com/msn/election2004.armx

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.