xsl-list
[Top] [All Lists]

RE: Retrieving Distinct text

2005-01-08 02:18:35
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(_at_)hotmail(_dot_)com] 
Sent: 08 January 2005 05:44
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>