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