How to add new elements in my DITA project

This should cover W3C XML Schema, Relax NG and DTD related problems.
OxUser
Posts: 18
Joined: Tue Mar 12, 2013 1:39 am

How to add new elements in my DITA project

Post by OxUser »

How do I add new elements in my DITA project. The closest thing I found to describing how to do this was the "DITA Specialization Support" section of the user manual. The process seems complicated.

What else do I need to do besides declaring the new element in the DTD?

Thanks
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: How to add new elements in my DITA project

Post by Radu »

Hi,

More about specializations can be read in the DITA 1.2 specs:

http://docs.oasis-open.org/dita/v1.2/os ... specialize

If after adding the new element you still want the XML to be compliant with the DITA standard, you need to make a DTD specialization, this is the only way possible.
Oxygen does not have a specific visual designer tool to assist you in making the specialization, you would need to create the specialization DTDs according to Eliot Kimber's specialization tutorial:

http://www.xiruss.org/tutorials/dita-specialization/

You can contact Eliot on the DITA Users List if you have difficulties or questions.

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