set fragmentheaderpreserve
set fragmentheaderpreserve= { on | off}
The set fragmentheaderpreserve command controls how fragments such as XML inclusions and file entities are written when a document is saved.
• off — (The default.) Fragments are written with headers binding each fragment to the document type of the root document. The root document is the document which is ultimately referencing each fragment.
• on — Fragments are written with the document type bindings they had when read into memory.
This setting has document scope.