Ignoring DTD during Transformation

Oxygen general issues.
JamieLester
Posts: 1
Joined: Thu Nov 17, 2022 9:53 am

Ignoring DTD during Transformation

Post by JamieLester »

Hello,

I have a specialized DITA file that I want to run XSLT against. The problem is that this file has a doctype, but I don't have the DTDs.
To complicate matters, the file references other files with other doctypes that I want to pull in with the document() function in the XSLT.
What's more, the content is published by third-party, so I'm not able to modify it.

Any help or insight is much appreciated.
Thanks,
Jamie
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ignoring DTD during Transformation

Post by Radu »

Hi Jamie,

I'm afraid this is not possible, you need access to the DTDs.
Or you can change the DOCTYPE declarations from all topics (using Oxygen's Find/Replace in Files tool for example) to the DOCTYPE declarations for base DITA topics, to see which extra elements were defined in the specialized DTDs.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply