xsl-list
[Top] [All Lists]

Re: XML transformations using XSLT

2003-01-06 22:43:51

"Chitra Lalita Madhwacharyula" <iscp1059(_at_)nus(_dot_)edu(_dot_)sg> wrote in 
message
news:5988FFBAE184B44C93D9509398A7BA4DF97979(_at_)MBXSRV26(_dot_)stu(_dot_)nus(_dot_)edu(_dot_)sg(_dot_)(_dot_)(_dot_)
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



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