Working with XML documents implies frequent changes to structure and content. You are often
faced with a situation where you need to make a slight change in hundreds of places in the
same document. Oxygen XML Editor introduced a new feature, Manage Highlighted
Content, designed to help you achieve that.
When you are in
Text mode and you perform a search operation or apply
an XPath that highlights more than one result, you can select the
Manage
Highlighted Content action from the contextual menu of any highlight in the
document. In the sub-menu, the following options are available:
-
Modify All - Use this option to modify in-place all the occurrences
of the selected content. When you use this option, a thin rectangle replaces the
highlights and lets you start editing;
Note: In case you select a very large number of
highlights that you want to modify using this feature, when you select this option, a
dialog box informs you that you may experience performance issues. You have the option
to either use the Find/Replace dialog box, or continue the
operation.
-
Surround All - Use this option to surround the content with a specific tag. This option opens the
Tag dialog box. The Specify the tag
drop-down presents all the available elements that you can choose from.
-
Remove All - Removes all the highlighted content.
In case you right click a different part of the document than a highlight, you only have the
option to select Modify All Matches.