Home › Forums › DITA and XMetaL Discussion › XMetal is inserting spaces when <cite> element surrounds <ph> element › Reply To: XMetal is inserting spaces when <cite> element surrounds <ph> element
Reply to: XMetal is inserting spaces when <cite> element surrounds <ph> element
October 19, 2011 at 4:56 pmIf it is not possible to alter your publishing system to deal with this white-space (that would be the ideal) it is possible to turn the pretty printing applied by XMetaL Author Enterprise for DITA documents off by running a macro (listed in the Macros toolbar) called “DITA Configuration: Turn OFF Pretty-Printing”.
Disabling pretty printing will not “fix up” documents that have already been saved however. You will need to deal with such files individually, or perhaps via some batch process.
If you need to have pretty printing turned on (so you can read the XML source more easily) but alter the behaviour for particular elements it is possible to configure the design of the pretty printing settings on a per-element basis. This is something our services team can help with if it is a requirement for you. The product includes a .ctm file for each DTD and it is file that controls various editing behaviours including pretty printing settings.