Skip to main content

Search for Attributes

You can use the advanced search feature to search for components that contain specific attributes and values. For example, you might want to search for all topics that contain the xinfo:product attribute with a value set to one of your product names.

To search for attributes, use the advanced search and perform a contains search.

  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 clear the search field. If there is content here, the attribute 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.

    Here is an example search for the xinfo:product attribute with the profiling value of ACME 1000.

    //*[contains(@xinfo:product, 'ACME 1000')]

    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 attribute and value you specified. The results are listed below the search settings.

    Advanced search settings after a search has taken place. The search results are shown as a list below the search settings.