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

Re: XML transformations using XSLT

Subject: Re: XML transformations using XSLT
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 6 Jan 2003 21:43:51 -0800 (PST)
multiplication in xslt
"Chitra Lalita Madhwacharyula" <iscp1059@xxxxxxxxxx> wrote in message
news:5988FFBAE184B44C93D9509398A7BA4DF97979@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello,
> 
> I am not very familiar with the complete potential of XSLT and am
trying
> to find out if I can use it to solve the problem that I have on hand.
> Can I use only XSLT if I need to merge two XML documents based on
> certain criteria or alternatively split an XML document into two or
more
> docs again based on certain criteria. 

Yes.

> Can XSLT be used to implement
> generic algorithms or is it highly specific to the document on hand
???

Yes, it can. See for example the FXSL functional programming library
for XSLT. This library implements support for higher-order functions in
XSLT, for currying and partial applications. Higher-order functions are
generic by definition -- e.g. the same template will implement "sum"
when passed addition as a parameter, and "product", when passed
multiplication as the value of the same parameter.

There are templates that implement *any* recursion over lists --
node-sets, strings -- or trees, or over the same function.

Using this genericity FXSL implements many numerical (e.g.
differentiation, integration, calculation of trigonometric and inverse
functions, exponents and logarithms, finding the roots of functions,
calculating random numbers), combinatory algorithms (e.g. cartesian
product of a set of sets) and string-processing algorithms (e.g.
tokenisation, text justification, spelling checking and generation of
correct alternative close words), ... etc. -- the list of possible
applications is open-ended.





=====
Cheers,

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

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

 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.