Search the XML content of a map

You can quickly search through the content of documents in a map, including the XML elements and attributes.

Procedure

  1. Open the DITA perspective.
  2. Open a map in the DITA Map view.
  3. Optional: To search only certain topics in the map, take the following actions:
    1. Select them
    2. Under Applies to, click Selection.
  4. In the DITA Map view, click Down arrow.
  5. Select Search and Replace.
    The Search and Replace dialog appears.
    Figure: Search and Replace dialog

    Search and Replace
  6. Under Containing text, enter the search string.
    To search recently used text or expressions, click the dropdown list under Containing text and make a selection.
    Note: Your search string can include wildcards, but it cannot include operators.
  7. 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. For example, a search for cat would ignore the word catastrophe.
    • Regular expression to use Regular Expressions (RegEx) to find a codified pattern. If this option is not selected, the [ ] characters, if used, will act as wildcards.
  8. Click Search

Results

The documents that match your search criteria appear in the Search view:

Figure: Search view

Search view