Skip to main content

Search for Elements

You can use the advanced search feature to search for components that contain specific elements (or structures). For example, you might want to search for all topics that contain the remark element.

  1. Select Quick Search in the top menu. Search.png

    Close up of top part of Paligo user interface. A callout box highlights the search icon in the top-right corner.
  2. Select Advanced Search. Filter_symbol_small.png

    Quick search bar. There is a down arrow button, a quick search field, a search icon, and a funnel icon.
  3. Select the Search tab.

    Search_Tab.png
  4. Leave the Search field empty.

    It is important to have no content in the search field. If there is content here, the search will not work as expected.

    Advanced search settings with the main search field empty. It must be empty when you are searching for attributes.
  5. In the Contains field, select XPath query.

  6. Enter the XPath syntax for searching for the element or structure.

    To search for a single element, use this syntax:

    //<element name>

    For example:

    //remark

    To search for parent and child elements, use this syntax:

    //<parent element name>/<child element name>

    For example:

    //listitem/remark

    You can also use XPath to search for more complicated structures.

    Tip

    There are many websites that you can use to learn about using XPath syntax, for example, www.w3schools.com. Alternatively, you could use an AI search engine to find the appropriate syntax.

  7. Select Search.

    Paligo finds any components that contain the element(s) you defined in the XPath Query. The results are listed below the search settings.