Home Forums DITA and XMetaL Discussion Customize element creation when editor creates new line Reply To: Customize element creation when editor creates new line

Derek Read

Reply to: Customize element creation when editor creates new line

I think you must be using specialized DITA DTDs because the

element is not normally allowed directly inside an

    for the standard DITA DTDs.

    If so, the CTM file associated with your specialized DITA DTD would need to be modified. You would need to add new entries to the section. The items in that list are checked in order, so whatever you add should be added prior to anything else that can be legally inserted. When a specific item is not found in this list that can legally be inserted then the fallback is to try items from the section of the CTM file (in order) and if there is nothing from that list that can be legally inserted then the final fallback is to try to insert the same element as the current one.

Reply

Products
Downloads
Support