Hello!

Saxon raises "Finding root of the tree: the context item is not a node" error when trying to use XPath not referencing the context item within xsl:non-matching-substring's sequence constructor.