Oxygen XML Editor can use the schema of your XML language to improve the way the Author mode editor handles your content. To configure the Schema Aware options, open the Preferences dialog box and go to .
When you open or save a document in Author mode, white space is normalized using the display property of the current CSS stylesheet and the values of the settings for Preserve space elements, Default space elements, and Mixed content elements. When this option is selected, the schema will also be used to normalize white space, based on the content model (element-only, simple-content, or mixed) . Note that the schema information takes precedence.
To avoid accidentally introducing inappropriate white space around inline elements, Oxygen XML Editor does not normally apply indenting to the source of an element with mixed content. If this option is selected, Oxygen XML Editor will apply indenting to the source of mixed content elements that only contain block elements.
This setting determines how Oxygen XML Editor will use the schema of a document to control the behavior of the Author mode.
Controls what happens when you attempt to delete an element tag. The options are:
If deleting the tag would make the document invalid, Oxygen XML Editor will attempt to make the document valid by unwrapping the current element or by appending it to an adjacent element where the result would be valid. For instance, if you delete a bold tag, the content can be unwrapped and become part of the surrounding paragraph, but if you delete a list item tag, the list item content cannot become part of the list container. However, the content could be appended to a preceding list items.
A deletion that would leave the document in an invalid state is rejected.
Controls the behavior for paste and drag and drop actions. Available options are:
If this option is enabled and the Smart paste and drag and drop option is disabled, Oxygen XML Editor will not let you paste content into a position where it would be invalid.
Controls the behavior that takes place when typing. Available options:
If typed characters are not allowed in the element at the cursor position, but the previous element does allow text, then a similar element will be inserted, along with your content.
If checked, and the result of the typing action is invalid, the action will not be performed.
Controls the behavior that takes place when inserting elements using content completion. Available options are:
If selected, the content completion list shows only the elements that can be inserted at the current position and will not allow you to enter any other element.
If selected, the content completion list will show all the elements in the schema, even those that cannot be entered validly at the current position. If you select an element that is not valid at the current position, Oxygen XML Editor will attempt to find a valid location to insert it and may present you with several options.
If selected, a warning message will be displayed if the Delete Element Tags action will result in an invalid document. You will be asked to confirm the deletion.
If selected, a warning message will be displayed if the Join Elements action will result in an invalid document. You will be asked to confirm the join.
Convert external content on paste
If selected, turns on smart paste for external content.