xsl-list
[Top] [All Lists]

Re: [xsl] Weird problem with doc()

2022-05-30 02:02:36
I suspected a namespace issue, too, but the ishobjects XML seems to be in no namespace, see for example https://www.oxygenxml.com/forum/post55006.html#p55006

On 30.05.2022 08:52, Michael Kay mike(_at_)saxonica(_dot_)com 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
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>