Re: [xsl] Weird problem with doc()

Subject: Re: [xsl] Weird problem with doc()
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 May 2022 06:52:34 -0000
> The XPath is correct because I can run this exact code outside of the DITA
Open Toolkit and it works as expected.

That's not a safe inference, because XPath is context-dependent. For example,
it depends on the namespace context. I would check carefully for namespace
dependencies. But there are other possible dependencies as well, which makes
it impossible to debug when we can only see an isolated fragment of your
code.

Michael Kay
Saxonica

Current Thread