Windows 7 will not find text in xml tags.

I am trying to use Windows 7 search to find some text in xml files.  It will find text that is not surrounded by angle brackets but won't find any text inside the angle brackets.  For example it will find "First_Name" but will not find <First_Name>.  If I just search for First_Name it will find nothing and if I search for <First_Name> it will find anything inside angle brackets.  I looked in the advanced indexing settings and it searches using an "XML Filter".  Is there any way to change the "XML Filter" to the basic text file search?  Oddly it will find <First_Name> in xsd (schema) files.

 

Answer
Answer

Hi Charles T D,

 

I’d recommend you to follow “Method 1” from the following article:

 

Using the "A word or phrase in the file" search criterion may not work

 

Note Some applications may not work correctly after making the changes.

 

Additionally, make a note that indexing options for XML files use the XML Filter, which specifically indexes ONLY the contents and not the structure of the XML.


Gokul - Microsoft Support

[If this post was helpful, please click the "Vote as Helpful" (green triangle) button. If it helps in resolving your issue, click "Propose As Answer" or "Mark as Answer" button. By proposing/marking a post as Answered, or Helpful you help others find the answer faster.]

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated October 21, 2022 Views 19 Applies to: