Search by Using XSLT Match Patterns

To perform narrower searches with complex criteria, e.g. search for certain values of certain attributes of certain elements, use special XSLT match patterns. XSLT match patterns match against elements that satisfy specific conditions.

  1. Call up the Find tab of the Find and Replace Dialog.
    To call up the Find tab of the Find and Replace Dialog, do one of the following:
    • Choose Edit > Find .

    • Click the Find button on the toolbar.

    • Press Ctrl-F.

    The Find tab will appear.

    Figure 1. Find tab.



    Note:

    The Find and Replace Dialog is a " liquid dialog": it can have a different, docked appearance. For more information about liquid dialogs, see "Liquid" Dialog Boxes and Dialog Docking.

  2. Specify the XSLT match pattern to search with.

    In the Find field, enter an XSLT match pattern.

    Figure 2. Find tab. XSLT match pattern to search with is entered.



  3. Select the XSLT pattern search type.

    To do a search using the XSLT match pattern entered in the Find field, select XSLT Pattern from the Search drop-down list.

    Figure 3. Find tab. Select the search by using XSLT Pattern .



  4. Specify the search direction.

    To start the search at the cursor's location and move backwards toward the beginning of the document, check the Search Backwards checkbox.

  5. Lauch the search. Click the Find Next button to find what you search for. You can click the Find Next button as many times as needed to find all the occurrences one by one.
Related concepts
Find&Replace with Docked Find and Replace Dialog
Related tasks
Find
Replace
Related information
Find&Replace Dialog