searching text inside an XML file
Lately I have been working with the keys in the gnome schema files. These are XML files located in /usr/share/glib-2.0/schemas/
Most of the time I am look for a key, but I don't know which XML file it's in. I thought I could use the nautilus search feature to search the text inside the files for the key name I was looking for, but when I have tried this I get no results.
I can open the files with gedit and search the file content with gedit and that works fine, but there a big bunch of files to look through and visual searching is not the most reliable.
I thought there might be a problem with the file permissions and/or location so I copied them all to another disk into a directory I own and made sure the permission would not restrict reading the files. I can open the files with gedit as described above, but nautilus search would still not find anything based on the text inside the files even when I searched for text that I have verified was inside the files. I have looked in the "Files -> Preferences" but I did not find anything that would help.
Nautilus search works fine to find files based on contained text for other file types like odt. Why can't nautilus find an xml file based on contained text?