Subject: [xsl] Can code in XSLT 3 check whether it is dealing with a streamed or a grounded node?|
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Sep 2020 09:01:13 -0000
I wonder whether, in XSLT 3 with (the option of) streaming, a function or template can check/introspect if it is dealing with a streamed node or a grounded node.
For instance, depending on how an XSLT stylesheet is executed the initial match selection might be streamed (e.g. StreamSource in Java/Saxon API) or grounded (XdmNode in Java/Saxon API), can the stylesheet code check whether it is dealing with a streamed or with a grounded node?