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: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Dec 2022 14:42:36 -0000
Am 12/20/2022 um 3:32 PM schrieb Roger L Costello costello@xxxxxxxxx:
Hi Martin,



In what way does the program or the system know that
"the police report has arrived"? Is there e.g. a certain file
available in a certain location?


Yes, when PoliceReport.xml arrives it is placed in the same folder as the
Car.xml file.




Well, Java can "watch" a directory for changes see e.g. https://docs.oracle.com/javase/tutorial/essential/io/notification.html so it is certainly possible to implement something in Java but I have no idea how such a function would fit into Saxon's use of Java extension functions to XSLT/XPath/XQuery; perhaps Michael Kay shows up later and can tell you more.

Current Thread