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

Re: "sum" of "substring"

Subject: Re: "sum" of "substring"
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Sun, 26 Oct 2003 08:56:47 +0100
xslt sum substring
> MHO, this is really the realm of a flat-text processing program
> like awk or perl. You have a wonderful XSLT hammer, but
> you're trying to use it on a screw.

As shown in my reply to the original message, solving this kind of problems
is straightforward in xslt using the "transform-and-sum" template of FXSL.

Look for examples of using the "transform-and-sum" template by searching the
list for "transform-and-sum".

Among other things this template has been used to sum numbers containing
commas or measurement units, to implement "time arithmetic" and to sum
hexadecimal numbers.

This is just an example of many kind of problems, which are considered
extremely difficult or not suitable for XSLT, but are in fact unproblematic,
easy and straightforward to solve using the FXSL library.

Of course, someone may argue that:

   XSLT + FXSL

is not the same as just XSLT.


A good reply to this is that if someone knows XSLT but doesn't know and use
FXSL, they probably do not know completely XSLT  :o)


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL




 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.