xsl-list
[Top] [All Lists]

RE: [xsl] FOP sum

2006-12-22 09:04:45
Google for

XSLT Summing over a set of computed numbers

(the "computation" here being to change "," to ".")

Michael Kay
http://www.saxonica.com/
 

-----Original Message-----
From: Dave Dran [mailto:davedran(_at_)gmail(_dot_)com] 
Sent: 22 December 2006 15:54
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] FOP sum

Hi! David!

I find out the problem. It has comma in between the AMT value.
How do I compute this non-numeric AMT.

Thanks

Dave

Merry Xmas & Happy Holidays

<ACT>
<DESC>
<AMT>
10,000
</AMT>
</DESC>
<DESC>
<AMT>
15,000
</AMT>
</DESC>
<DESC>
<AMT>
20,000
</AMT>
</DESC>
<DESC>
<AMT>
30,000
</AMT>
</DESC>
</ACT>


On 12/22/06, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:

 Can't seem to get it working
you got an error? you got output but not the output you wanted? you 
got no output?

there is nothing wrong with the code snippet you posted, so 
presumaly 
the error is in some code you didn't show.

You mention fop in your subject line, so I assume you are 
generating 
xsl-fo, in which case you need to determine whether the xslt is 
generating the FO XML output that you intented, but that 
this is not 
rendering as you expected, or if the XSLT is not generating teh FO 
that you intended. Your posted code gave no indication.

David


--~------------------------------------------------------------------
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>
--~--




--
http://www.flickr.com/photos/pixveda/

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>