Re: [xsl] Re: How to express this in XPath: "when condition doaction" where condition cannot be evaluated until data arrives later

Subject: Re: [xsl] Re: How to express this in XPath: "when condition doaction" where condition cannot be evaluated until data arrives later
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Dec 2022 14:20:18 -0000
Hi Graydon,

I am implementing an application that processes a sequence of XPath
expressions. Some XPath expressions can be evaluated immediately because all
the data is present in full. However, in some cases not all the data is
present in full. In my car example, the decision to output the license plate
number or null cannot be made until the relevant police report arrives, which
may occur at some time in the future. So evaluating the XPath for the car
example must pause until the police report arrives.

> It looks like all the difficulty comes in because you're thinking of the
> conceptual "processing is delayed for the report" as something that has
> to be implemented literally.

Yes, I do literally mean that processing of the car document must be delayed
until the police report arrives. Does that make sense?

/Roger

Current Thread