Subject: Re: [xsl] XSLT repetition constructs From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 5 Mar 2019 22:17:49 -0000 |
It isn't correct to use "repetition" for a set of operations that are independent from each other and can be executed in any order or in parallel. In this group fall such operations as <xsl:for-each>. the XPath for expression, the ! (bang) operator and applying a function in the last location step of an XPath step-expression (sorry if I don't remember the exact terminology). All of these are *mapping" operations, like the map function in Haskell. These have nothing to do with repetition. I think it would be much more appropriate to use the map/reduce terminology, as many people may have had experience with this and will understand the description correctly. Even the "reduce" type of operation has little to do with repetition -- this is more correctly a chain of execution or serialized execution. Cheers, Dimitre On Tue, Mar 5, 2019 at 1:56 AM Mukul Gandhi gandhi.mukul@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > > Hi all, > I've written a document explaining different XSLT repetition constructs. Its available at, http://gandhimukul.tripod.com/xslt/xslt_repetition_constructs.pdf. > > Any comments, corrections to this document are welcome. > > > > > -- > Regards, > Mukul Gandhi > > XSL-List info and archive > EasyUnsubscribe (by email) -- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- To avoid situations in which you might make mistakes may be the biggest mistake of all ------------------------------------ Quality means doing it right when no one is looking. ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play ------------------------------------- To achieve the impossible dream, try going to sleep. ------------------------------------- Facts do not cease to exist because they are ignored. ------------------------------------- Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :) ------------------------------------- Sanity is madness put to good use. ------------------------------------- I finally figured out the only reason to be alive is to enjoy it.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT repetition construct, Wendell Piez wapiez@ | Thread | Re: [xsl] XSLT repetition construct, John Lumley john@xxx |
Re: [xsl] XSLT repetition construct, Liam R. E. Quin liam | Date | Re: [xsl] XSLT repetition construct, Wendell Piez wapiez@ |
Month |