Page 1 of 1
Creating a new element
Posted: Tue May 13, 2025 7:19 am
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?
Re: Creating a new element
Posted: Tue May 13, 2025 7:45 am
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