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

statistice using xsl

Subject: statistice using xsl
From: fatma helmy <fatmahelmy2000@xxxxxxxxx>
Date: Sun, 17 Dec 2006 22:55:19 -0800 (PST)
 statistice using xsl
suppose i have the following xml file

<books>
<book>
   <author> joe
</author>
  <author> mary </author>
</book>
<book>
   <author> joe </author>
<author> hanz </author>
</book>
</books>

i need to perform the following
statistics using xsl

<tag name="joe">
 <path> book/author </path> <frequency>
4 </frequency>
<value  frq="2"  transactions = "1" , "2"> joe </value>
<value
frq="1" transactions = "1" > mary </value>
<value frq="1" transactions = "2" >
hanz </value>
</tag>

i mean joe has been repeated twice in book 1 and book 2,
while hanz has been repeated in book 2 only, i need to extract the order of
node book

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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.