Home › Forums › DITA and XMetaL Discussion › Modifying Insert Element Behavior › Reply To: Modifying Insert Element Behavior
Reply to: Modifying Insert Element BehaviorOctober 14, 2009 at 9:04 pm
I haven't been able to reproduce this problem using the default configuration of XMetaL 5.5.
For most Insert Element operations, you can configure what sub-elements are inserted by default. To do this, edit the .CTM file associated with the particular document types. For example, for DITA concept topics the .CTM file is called concept_ditabase.ctm and is located in C:Program FilesXMetaL 5.5AuthorDITAXACsconcept .
The default .CTM file for DITA topic types contains the following code:
Using XMetaL Developer to edit CTM files is a bit easier than editing them in a text editor. If you change your concept_ditabase.ctm file to make it look more like the above and then restart XMetaL, the next time you insert a
Each DITA topic type is controlled by a different CTM file, so you will probably want to make your changes in all the CTM files here: C:Program FilesXMetaL 6.0AuthorDITAXACs
If you just want a clean set of the CTM files that are installed by default, you could do a complete uninstall-reinstall (http://forums.xmetal.com/index.php/topic,67.0.html). Or if you're on product maintenance, feel free to contact XMetaL Support and we can send you the files.