IntelliJ IDEA lets you find occurrences of certain XPath expressions in all XML files in a specific scope.
From the main menu, select Find by XPath Expression dialog opens.. The
Type the expression to find and choose the scope for the search. If you specify a custom scope, IntelliJ IDEA only scans XML files inside source folders.