[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to incrementally add to a result document?

Subject: Re: How to incrementally add to a result document?
From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Jun 2024 12:17:21 -0000
Re:  How to incrementally add to a result document?
> I would represent the log as a global map variable and place any action
there as an entry like  {action-key, action-info}, immediately on completing
each action.
>
> Finally, when the processing is finished, we can produce  from  the log-map
a single result-document that contains all entries of the log-map.
>

This suffers the same problem as the original proposal: it's based on order of
events, recognisable by the use of temporal language ("immediately",
"finally", "when"), and (if interpreted literally) involves a mutable
variable.

I think you have to find a way to do this kind of thing in multiple phases.
For example, first phase creates a composite document, phases 2 and 3 extract
parts of this into different result documents.

Michael Kay
Saxonica

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.