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

RE: Retrieving Distinct text

Subject: RE: Retrieving Distinct text
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 8 Jan 2005 09:18:35 -0000
distinct text
Getting distinct values is a special case of the general problem of
grouping, which is fully discussed at
http://www.jenitennison.com/xslt/grouping

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Keyur K [mailto:kkeyur@xxxxxxxxxxx] 
> Sent: 08 January 2005 05:44
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Retrieving Distinct text
> 
> Hello,
> 
> I need some help on how to retrieve distinct text from a node 
> set. I tried 
> the suggestion posted on  
> http://www.biglist.com/lists/xsl-list/archives/199907/msg00225
> .html but it 
> didnt work out, it gives me an error msg 
> "'from-following-siblings' is not a 
> valid XSLT or XPath ". I am using the MSXML parser.
> 
> I need to extract the medicines ABC and XYZ from my nodeset 
> given below.
> 
> <dailyrecord>
> 	<medication id="1">
> 	<name>ABC</name>
> 	<date>1</date>
> 	<time>morning</time>
> 	</medication>
> 
> 	<medication id="2">
> 	<name>XYZ</name>
> 	<date>1</date>
> 	<time>evening</time>
> 	</medication>
> 
> 	<medication id="3">
> 	<name>ABC</name>
> 	<date>2</date>
> 	<time>evening</time>
> 	</medication>
> 
> </dailyrecord>
> 
> 
> Pl. advice.
> 
> Thanks & Regards,
> Keyur

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.