Home Forums General XMetaL Discussion Opening XML file and saving it changes the structure, why? Reply To: Opening XML file and saving it changes the structure, why?

Derek Read

Reply to: Opening XML file and saving it changes the structure, why?

You have two options with your XMetaL customization (DTD/XSD + CSS + CTM + MCR + other files):

1) Turn pretty printing off for your customization. In this case the product should retain any existing pretty printing (essentially carriage returns) included with the file when it was opened. Any new content should be added without adding pretty printing.
2) Configure pretty printing for your customization to match the pretty printing put in place by the other software you are using to work with your XML.

Pretty printing is controlled by settings in the CTM file. Documentation on this is included with XMetaL Developer and the CTM editor is included with that product as well.

Reply

Products
Downloads
Support