Oxygen XML Editor Author allows you to declare some elements to be foldable (collapsible). This is especially useful when working with large documents organized in logical blocks, editing a large DocBook article or book for instance. Oxygen XML Editor marks the foldable content with a small blue triangle. When you hover with your mouse pointer over this marker, a dotted line borders the collapsible content. The following contextual actions are available:
Close Other
FoldsCtrl NumPad/ (Command NumPad/ on OS
X) -
Folds all the elements except the current element.
Collapse Child Folds
(Ctrl+Decimal) - Folds the elements indented with one
level inside the current element.
Expand Child Folds (Ctrl+Equals)- Unfolds all child elements of the currently
selected element.
Expand
All (Ctrl+NumPad+*) - Unfolds all elements in the current
document.
Toggle Fold - Toggles the state of the current
fold.All the elements below can have a title child element and are considered to be logical sections. You mark them as being foldable leaving the title element visible.
set,
book,
part,
reference,
chapter,
preface,
article,
sect1,
sect2,
sect3,
sect4,
section,
appendix,
figure,
example,
table {
-oxy-foldable:true;
-oxy-not-foldable-child: title;
}