Download Oxygen XML Author 12.2

Transcript
328 | Oxygen XML Author | Text Editor Specific Actions
Finding and Replacing Text in the Current File
This section explains how to use the find and replace features of the application.
The Find All Elements / Attributes Dialog
This dialog is opened from menu Edit > Find All Elements... . It assists you in defining XML elements / attributes
search operations on the current document.
Figure 158: Find All Elements / Attributes dialog
The dialog can perform the following actions:
•
•
•
•
Find all the elements with a specified name.
Find all the elements which contain or not a specified string in their text content.
Find all the elements which have a specified attribute.
Find all the elements which have an attribute with or without a specified value.
All these search criteria can be combined to fine filter your results.
The results of all the operations in the Find All Elements / Attributes dialog will be presented as a list in the message
panel.
The dialog fields are described as follows:
•
•
Element name - The target element name to search for. Only the elements with this exact name are returned. For
any element name just leave the field empty.
Element text - The target element text to search for. The combo box beside this field allows you to specify that you
are looking for an exact or partial match of the element text. For any element text, select contains in the combo box
and leave the field empty.
If you leave the field empty but select equals in the combo box, only elements with no text will be found. Select not
contains to find all elements which do not have the specified text inside.
•
•
Attribute name - The name of the attribute which needs to be present in the elements. Only the elements which
have an attribute with this name will be returned. For any / no attribute name just leave the field empty.
Attribute value - The combo box beside this field allows you to specify that you are looking for an exact or partial
match of the attribute value. For any / no attribute value select contains in the combo box and leave the field empty.
If you leave the field empty but select equals in the combo box, only elements that have at least an attribute with an
empty value will be found.
Select not contains to find all elements which have attributes without a specified value.
•
Case sensitive - When this option is checked, operations are case sensitive.