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(_dot_)mukul(_at_)gmail(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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.
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--