How does XMLMax handle entities?
The original formatting of all entities is preserved when a document is saved.
The treeview displays the expanded form of entities. The edit panel displays them as they were in the source document and that is how they are written back to disk when the file is saved.
If a text node in a source document contains 3 > 2 then
the treeview will show 3 > 2; the edit panel will show 3 > 2 and it is saved as 3 > 2.
If the text contains contains "3 > 2" then both the treeview and edit panel will show "3 > 2" and that is how it is written when saved.
This also applies to named entities in DOCTYPE node as well as entities such as  
If a file difference tool is used to compare an XML file before and after editing with XMLMax, the only differences will be actual edits made by the user and everything else will be the same.