On 02.06.2022 16:56, Zimmel, Daniel wrote:
I see, thanks Gerrit and Christian for the insight. This *does* sound wickedly 
unfunny.

OK if I actually do not need to be able to parse the DTD wouldn't the simple 
workaround be:

fetch:xml('file:///C:/temp/catalog/dokument.xml')
        => xslt:transform('transform.xsl')

At least this is what works here, resulting in a new document node and trashing 
the DTD declaration.

Yes, that should solve your issue. If you only want to read the primary XSLT input and don’t need to resolve any named entities, that’s easier than doc() from XQuery with catalogs enabled what I suggested.

Gerrit

Reply via email to