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

How to find unique element.

Subject: How to find unique element.
From: "Anand A Tarkas , Gurgaon" <atarkas@xxxxxxxxxxxxxxx>
Date: Mon, 17 May 1999 20:15:54 +0530
find an element
Hi,
I am learning xsl and have got a problem

we have a xml which looks like:
<?xsl version="1.0"?>
<company>
      <Employee empcode="1">
             <project pcode="p1">
	      <duration hours="10" />	 
	</project>
	<project pcode="p2">
	       <duration hours="8" />	 
	</project>
      </Employee	>
      <Employee empcode="2">
             <project pcode="p1">
	      <duration hours="14"/>	 
	</project>
	<project pcode="p2">
	       <duration hours="6" />	 
	</project>
            <project pcode="p3">
	       <duration hours="12" />	 
	</project>
      </Employee	>
</company>   
Problems:
1) How do i find out unique projectcodes?
2) How to display the total hours put in by all the employees in a
particular project?

Any information regarding sites related to xsl will definitely help me 
Thanks.


 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.