Arbortext Command Language > set Command Options > set fragmentheader
  
set fragmentheader
set fragmentheader= { none | comment | document}
This set option specifies the format of the fragment header that is written at the beginning of an XML inclusion when it is saved. This header information contains information that is used by Arbortext Editor to allow the inclusion to be edited separately. The default value is comment.
none — No header information is written.
comment — The fragment is written as an XML comment.
document — When set to document:
The fragment is written as a complete XML document.
Choosing to create an inclusion from a selection will only be allowed on well-formed selections (selections consisting of a single element).
While editing a document that contains expanded XML inclusions, Arbortext Editor will prevent new top-level elements from being added to the expanded inclusions. That is, they will be kept well-formed.
The PTC Server connection and repository adapter features that enable you to create an object from a selection in a document require that the selected object be well formed. A well formed object contains the contents of a single element.
Related Topics
set filereference command