xsl-list
[Top] [All Lists]

RE: [xsl] extract values from an attribute, then math division

2006-07-21 04:07:01
Are you using XSLT 1.0 or XSLT 2.0? 

If the latter, have a look at the thread I started yesterday at 
http://www.biglist.com/lists/xsl-list/archives/200607/msg00582.html
-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Leslie Young <xlr8sx(_at_)hotmail(_dot_)com>
Sent:     Thu, 20 Jul 2006 19:57:00 -0500
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  [xsl] extract values from an attribute, then math division

I need to extract 2 values from an attribute and perform math division. For 
example, define a variable = [Total] / [Count] / 100 from the following 
Value element.  Any advise how to do it?

<Item name="AAA">
   <Value name="Samples" result="Samples: [Total] = 2000.0 [Count] = 50" />
</Item>

Thanks in advance!

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--