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:

  1. Open the DITA perspective.
  2. Open a map in the DITA Map view.
  3. (Optional) To search only certain topics in the map, select the target topics.
  4. Click the DITA Map view’s Menu button Down arrow.
  5. Select Search and Replace.
    The Search and Replace dialog box appears:
    Figure: Search and Replace


  6. 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.
  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. (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.
  8. If you are targeting selected documents (Step 3), under Applies to, click Selection.
    By default, the All option is selected under Applies to.
  9. Click Search
    The documents that match your search criteria are returned in the Search view:
    Figure: Search view