Creating a new element

Post here questions and problems related to editing and publishing DITA content.
digital_nomad
Posts: 9
Joined: Thu Jul 28, 2022 9:03 am

Creating a new element

Post by digital_nomad »

Is it possible to create a new element that can be used in a DITA topic? If yes, Is there any documentation on how to do that?
Radu
Posts: 9448
Joined: Fri Jul 09, 2004 5:18 pm

Re: Creating a new element

Post by Radu »

Hi,
DITA specialization allows creating new elements which are specialization of base elements:
https://www.oxygenxml.com/doc/versions/ ... pport.html
The DITA 4 Practitioners tutorial has step by step instructions on creating DTD specializations:
https://dita4practitioners.github.io/di ... rview.html
Once you create such a specialization, all the DOCTYPE declarations in your topics will need to be changed to point to the specialized DTDs.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply