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

Extracting Unique Nodes

Subject: Extracting Unique Nodes
From: "Subramanian, Veera" <Veera_Subramanian@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Aug 2001 10:38:38 -0400
extracting nodes from xml
Hi,
   Iam finding it difficult to extract distinct nodes from XML. Please see the sample xml below.

<?xml version="1.0"?>
<page>
  <data>
     <ASOF_DT>1</ASOF_DT>
     <ASOF_DT>1</ASOF_DT>
     <ASOF_DT>3</ASOF_DT>
     <ASOF_DT>5</ASOF_DT>
  </data>
  <data1>
     <ASOF_DT>5</ASOF_DT>
     <ASOF_DT>5</ASOF_DT>
     <ASOF_DT>7</ASOF_DT>
  </data1>   
</page>

How can i write an xpath expression to extract distinct asof_dt under <data> & <data1> seperately.

Picking distinct list under data , should bring 1,3,5
Picking distinct list under data1 , should bring 5,7
 

Regards
Veera


________________________________________________________________
The information contained in this message is intended only for the recipient, may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer.

Thank you,
Standard & Poor's

 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.