[xsl] What is the default global context item?

Subject: [xsl] What is the default global context item?
From: "Erik Siegel erik@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 May 2020 09:53:47 -0000
Hi all (and maybe especially  <mailto:mike@xxxxxxxxxxxx> @Michael Kay)



In implementing XSLT 3 conversions for XProc 3.0 pipelines we ran into this
issue:



What is the global context item for an XSLT 3.0 stylesheet when none is set
explicitly?



Ibve tried to find it in the XSLT 3 spec but found it hard to find the
definite answer. In practice however (for XML conversions)  I noticed itbs
the document-node of the main input document. But is that because the XSLT 3
spec says so or just a convenient default of Saxon?



Hope anyone can help us out,

Erik Siegel

Current Thread