[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML transformations using 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|