[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Need help with XSLT tokenize
On Thu, 2020-08-13 at 10:27 +0000, Martin Honnen martin.honnen@xxxxxx wrote: > > What about XSLT 3's xsl:iterate? Isn't that, with its parameters that > can change on each iteration step, close to a procedural, sequential > loop? It's essentially little more than syntactic sugar for a recusive template - the only difference is that it's restricted to forms in which the processor can detect tail recursion. Thinking of it as a loop in which you can modify variables would e.g. suggest you can modify maps with it, but maps are immutable - you can only make a new map that reflects the changes you want.* Liam * vendor-specific extensions may break the abstraction and allow looping, modification of variables, and access to implementation data structures, but they are not part of the language and normally should be avoided where possible, for portability & future-proofing. -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org
|
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
|