|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to find unique 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








