Search the XML content of a map
You can quickly search the content of documents in a map, including the XML elements and attributes.
To search one or more documents in a map:
- Open the DITA perspective.
- Open a map in the DITA Map view.
- (Optional) To search only certain topics in the map, select the target topics.
- Click the DITA Map view’s Menu button .
-
Select Search and Replace.
The Search and Replace dialog box appears:
-
Under Containing text, enter the search
string.
To search recently used text or expressions, click the list under Containing text and make a selection.Note: Your search string can include wildcards, but it cannot include operators.
- Optional:
If desired, select one or more
Options:
- Case sensitive to find only text that matches the case in your search string.
- Whole word to find only whole words that match the search string. (If this is selected, a search for "cat" would ignore the word "caterpillar".)
- Regular expression if your search uses a codified pattern to represent multiple characters. If this option is not selected, the [ ] characters, if used, will be interpreted as wildcards.
-
If you are targeting selected documents (Step 3), under
Applies to, click Selection.
By default, the All option is selected under Applies to.
-
Click Search
The documents that match your search criteria are returned in the Search view: