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

Max value from a table

Subject: Max value from a table
From: "Mark Harburg" <mharburg@xxxxxxxx>
Date: Wed, 24 Oct 2001 05:10:50 +0800
table max value
I need to find the largest value from a table and use that in calculating percentage values in my target XML document.

eg.
---- FROM ------
<?xml version="1.0"?>
<table>
   <row><col>25</col><col>7</col></row>
   <row><col>1</col><col>100</col></row>
</table>

-- 100 is the largest value in the table - now used to calculate each new cell as x / 100.

---- TO ------
<?xml version="1.0"?>
<table>
   <row><col>.25</col><col>.07</col></row>
   <row><col>.01</col><col>1</col></row>
</table>


Any ideas?
Thanks!
-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


Have you downloaded the latest calling software from Net2Phone? Click here to get it now!

http://www.net2phone.com/cgi-bin/link.cgi?157




 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.