Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

[DITA] How to wrap composite topics in a <dita> element and adapt the DOCTYPE

New Here ,
May 27, 2015 May 27, 2015

We have hundreds of DITA files in many different projects, maintained using FM11 set to DITA 1.1.

Most files are composite topics, with DOCTYPE:

<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Composite//EN" "ditabase.dtd">

<topic>.......</topic>

We are testing introduction of FM12 set to DITA 1.2 and find that when opening a composite topic file and saving it, FM12 changes the DOCTYPE to

<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "technicalContent/dtd/topic.dtd">

and then throws a bunch of validation errors which I assume are down to the fact that the nested topic types are not allowed with that DOCTYPE.


Is there an easy way of wrapping our "old" composite topics in the <dita> element and setting the doctype to "dita" in the DOCTYPE?


Our FrameMaker guru has left and we have no experience with preprocessing on file open.


I'd be grateful for any tips.

TOPICS
Structured
288
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation