Subject: Re: [xsl] XML transformations using XSLT From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Mon, 6 Jan 2003 21:43:51 -0800 (PST) |
"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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XML transformations using XSL, Chitra Lalita Madhwa | Thread | [xsl] RE: [XSL] XML transformations, Heinz Seldte |
RE: [xsl] Spaces in Tag Name, Vijaya Kumar Y | Date | RE: [xsl] RE: [XSL] XML transformat, Edward . Middleton |
Month |