Re: [xsl] Weird problem with doc()

Subject: Re: [xsl] Weird problem with doc()
From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 30 May 2022 07:02:32 -0000
I suspected a namespace issue, too, but the ishobjects XML seems to be in no namespace, see for example

On 30.05.2022 08:52, Michael Kay mike@xxxxxxxxxxxx wrote:

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

Current Thread